From 4e41a53507268fe5b9fd7731aa199580e7d6a2dd Mon Sep 17 00:00:00 2001 From: stebifan Date: Fri, 20 Apr 2018 13:02:28 +0200 Subject: [PATCH] bugfix --- templates/wordpress/0/docker-compose.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/templates/wordpress/0/docker-compose.yml b/templates/wordpress/0/docker-compose.yml index 11c26a2..967e448 100644 --- a/templates/wordpress/0/docker-compose.yml +++ b/templates/wordpress/0/docker-compose.yml @@ -16,8 +16,10 @@ services: - 'wordpress_data:/var/www/html' depends_on: - mariadb + links: + - mariadb:mariadb environment: - - WORDPRESS_DB_HOST=db + - WORDPRESS_DB_HOST=mariadb - WORDPRESS_DB_USER=${mariadb_user} - WORDPRESS_DB_PASSWORD=${mariadb_user_password} - WORDPRESS_USERNAME=${wordpress_username}