Skip to content

Latest commit

 

History

History
38 lines (26 loc) · 636 Bytes

README.md

File metadata and controls

38 lines (26 loc) · 636 Bytes

PHPDOCK

Introduction

My full PHP development environment for Docker.

Quick Overview

cp .env.example .env
vi .env

# Edit .env
DATA_PATH_HOST=~/.phpdock74/data
COMPOSE_PROJECT_NAME=phpdock74
PHP_VERSION=7.4

# OR
DATA_PATH_HOST=~/.phpdock81/data
COMPOSE_PROJECT_NAME=phpdock81
PHP_VERSION=8.1

Commamd

docker-compose up -d php-fpm nginx

docker-compose restart nginx

docker-compose exec workspace bash

References