From f1ac5917c24a8738e6a177981f415fcaf9d544cd Mon Sep 17 00:00:00 2001 From: Ambroise Maupate Date: Mon, 11 Sep 2023 19:49:16 +0200 Subject: [PATCH] chore: Docker-compose dependencies --- docker-compose.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/docker-compose.yml b/docker-compose.yml index 05007de7..5a9caddb 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -54,6 +54,8 @@ services: MYSQL_DATABASE: db_name MYSQL_USER: db_user MYSQL_PASSWORD: db_password + links: + - db:db networks: frontproxynet: aliases: @@ -165,6 +167,8 @@ services: - ${PUBLIC_APP_PORT}:80/tcp depends_on: - app + links: + - app:app volumes: - ./:/var/www/html:cached networks: