DockerWordpress/README.md

44 lines
1.2 KiB
Markdown

# DockerWordpress
This is a repository to help you in the deployment of Wordpress instances using docker.
All the persistent data is stored in subdirectories of the host local filesystem. No docker volumes are used in this version.
The root directory contain several configuration files for the deployment of wordpress sites using docker
The subdirectories represent different wordpress deployments:
- **basic**:
MySQL and WordPress containers only
- **myadmin**:
MySQL, WordPress and phpMyAdmin containers
- **basic_redis**:
added redis container to basic
- **myadmin_redis**:
added redis container to myadmin
**COMMON .env VARIABLES for all the deploymenst**
.env VARIABLES
The variables in all the .env files are:
CONTAINER_NAME: represents the sufix of the containers created
MYSQL_ROOT_PASSWORD: the root password for the MySQL database
MYSQL_USER: the user to own the wordpress database
MYSQL_PASSWORD: the password for the MYSQL_USER
MYSQL_WP_DATABASE: the wordpress database name
EX_PORT: the port to access the wordpress
## nginx configuration file
The nginx configuration file must be placed in the nginx configuration directory of the host that will make reverse proxy to our site