Skip to content

roncallyt/wordpress-docker-environment-boilerplate

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

wordpress-docker-environment-boilerplate

Wordpress Docker Environment Boilerplate

Clone this repository

git clone https://github.com/roncallyt/wordpress-docker-environment-boilerplate.git

Enter in directory and create .env from example

cp .docker/.env.example .docker/.env

Fill the environment variables

# 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.

Build the images

./develop build --no-cache

Turn up the containers

To run in foreground:

./develop up

To run in background:

./develop up -d

Turn down the containers

./develop stop

To destroy the containers

Without destroy volumes:

./develop down

Destroing volumes:

./develop down -v

About

Wordpress Docker Environment Boilerplate

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published