forked from Public/DockerWordpress
Added support to user variables in php.ini
This commit is contained in:
+1
-13
@@ -10,18 +10,6 @@ If you need to access the phpMyAdmin just point your browser to http://hostname:
|
||||
|
||||
.env VARIABLES
|
||||
|
||||
The variables in the .env file 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
|
||||
The variables in the .env file are those in that appear in the parent directory README.md and the following additional ones:
|
||||
|
||||
MY_PORT: the port to access the phpMyAdmin
|
||||
|
||||
@@ -28,6 +28,7 @@ services:
|
||||
- WORDPRESS_DB_NAME=$MYSQL_WP_DATABASE
|
||||
volumes:
|
||||
- ./wordpress:/var/www/html
|
||||
- ./php/user.ini:/usr/local/etc/php/conf.d/user.ini
|
||||
|
||||
phpmyadmin:
|
||||
depends_on:
|
||||
|
||||
Reference in New Issue
Block a user