This commit is contained in:
stebifan 2018-04-20 13:02:28 +02:00
parent 5d98a95379
commit 4e41a53507

View File

@ -16,8 +16,10 @@ services:
- 'wordpress_data:/var/www/html' - 'wordpress_data:/var/www/html'
depends_on: depends_on:
- mariadb - mariadb
links:
- mariadb:mariadb
environment: environment:
- WORDPRESS_DB_HOST=db - WORDPRESS_DB_HOST=mariadb
- WORDPRESS_DB_USER=${mariadb_user} - WORDPRESS_DB_USER=${mariadb_user}
- WORDPRESS_DB_PASSWORD=${mariadb_user_password} - WORDPRESS_DB_PASSWORD=${mariadb_user_password}
- WORDPRESS_USERNAME=${wordpress_username} - WORDPRESS_USERNAME=${wordpress_username}