Added support to user variables in php.ini
This commit is contained in:
parent
a24dc80bc8
commit
9e987bb928
25
README.md
25
README.md
@ -1,5 +1,9 @@
|
|||||||
This directory will contain several configuration files for the deployment of wordpress sites using docker
|
**DockerWordpress** is a repository to help you in the deployment of Wordpress instances using docker.
|
||||||
The subdirectories represent different wordpress deployment:
|
|
||||||
|
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**:
|
- **basic**:
|
||||||
|
|
||||||
MySQL and WordPress containers only
|
MySQL and WordPress containers only
|
||||||
@ -16,3 +20,20 @@ The subdirectories represent different wordpress deployment:
|
|||||||
|
|
||||||
added redis container to myadmin
|
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
|
||||||
|
|||||||
@ -8,16 +8,4 @@ INSTRUCTIONS
|
|||||||
|
|
||||||
.env VARIABLES
|
.env VARIABLES
|
||||||
|
|
||||||
The variables in the .env file are:
|
The variables in the .env file are the common ones shown in the parent directory README.md
|
||||||
|
|
||||||
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
|
|
||||||
|
|||||||
@ -28,4 +28,4 @@ services:
|
|||||||
- WORDPRESS_DB_NAME=$MYSQL_WP_DATABASE
|
- WORDPRESS_DB_NAME=$MYSQL_WP_DATABASE
|
||||||
volumes:
|
volumes:
|
||||||
- ./wordpress:/var/www/html
|
- ./wordpress:/var/www/html
|
||||||
|
- ./php/user.ini:/usr/local/etc/php/conf.d/user.ini
|
||||||
|
|||||||
@ -10,18 +10,6 @@ If you need to access the phpMyAdmin just point your browser to http://hostname:
|
|||||||
|
|
||||||
.env VARIABLES
|
.env VARIABLES
|
||||||
|
|
||||||
The variables in the .env file are:
|
The variables in the .env file are those in that appear in the parent directory README.md and the following additional ones:
|
||||||
|
|
||||||
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
|
|
||||||
|
|
||||||
MY_PORT: the port to access the phpMyAdmin
|
MY_PORT: the port to access the phpMyAdmin
|
||||||
|
|||||||
@ -28,6 +28,7 @@ services:
|
|||||||
- WORDPRESS_DB_NAME=$MYSQL_WP_DATABASE
|
- WORDPRESS_DB_NAME=$MYSQL_WP_DATABASE
|
||||||
volumes:
|
volumes:
|
||||||
- ./wordpress:/var/www/html
|
- ./wordpress:/var/www/html
|
||||||
|
- ./php/user.ini:/usr/local/etc/php/conf.d/user.ini
|
||||||
|
|
||||||
phpmyadmin:
|
phpmyadmin:
|
||||||
depends_on:
|
depends_on:
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user