Added myadmin flavour

This commit is contained in:
2020-08-05 08:19:28 +02:00
parent 0c2865c620
commit e61f7c3e9b
7 changed files with 92 additions and 5 deletions
+1 -1
View File
@@ -1,4 +1,4 @@
$CONTAINER_NAME=TheNameOfYourContainer
CONTAINER_NAME=TheNameOfYourContainer
MYSQL_ROOT_PASSWORD=YourMySQLRootPasswordHere
MYSQL_USER=wpuser
MYSQL_PASSWORD=The_wpuser_password_here
+10 -1
View File
@@ -2,7 +2,16 @@ INSTRUCTIONS
1. Copy (and edit) .env_default to .env
2. Run docker-compose
3. Access the system in hostname:$EX_PORT
3. Access the system in http://hostname:$EX_PORT
4. Follow the system instructions to install WP
5. Have fun!
.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
+2 -2
View File
@@ -3,7 +3,7 @@ version: '3'
services:
db:
image: mysql:8.0
container_name: $CONTAINER_NAME_db
container_name: "${CONTAINER_NAME}_db"
restart: unless-stopped
env_file: .env
environment:
@@ -16,7 +16,7 @@ services:
depends_on:
- db
image: wordpress
container_name: $CONTAINER_NAME_wp
container_name: "${CONTAINER_NAME}_wp"
restart: unless-stopped
env_file: .env
ports: