forked from Public/DockerWordpress
40 lines
1.1 KiB
Markdown
40 lines
1.1 KiB
Markdown
**DockerWordpress** 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
|