Wordpress Docker Environment Boilerplate
git clone https://github.com/roncallyt/wordpress-docker-environment-boilerplate.git
cp .docker/.env.example .docker/.env
# Project
COMPOSE_PROJECT_NAME=
# Nginx
NGINX_PORT=
NGINX_ALIAS=
# Database
MYSQL_DATABASE=
MYSQL_ROOT_PASSWORD=
MYSQL_PORT=
The alias defined in this file MUST be addicted to hosts file in your machine.
./develop build --no-cache
To run in foreground:
./develop up
To run in background:
./develop up -d
./develop stop
Without destroy volumes:
./develop down
Destroing volumes:
./develop down -v