From 02078319a5f6e40b91abdf551ddf490dd810b202 Mon Sep 17 00:00:00 2001 From: Victor Lacasse-Beaudoin Date: Wed, 14 Feb 2024 15:44:09 -0500 Subject: [PATCH] fix: ajouter env vars *_DB_HOST --- docker-compose.yaml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/docker-compose.yaml b/docker-compose.yaml index 70bf456..a0a48ad 100644 --- a/docker-compose.yaml +++ b/docker-compose.yaml @@ -16,6 +16,7 @@ services: build: './bottin' image: 'git.agecem.com/agecem/bottin:latest' environment: + BOTTIN_DB_HOST: 'bottin_db' BOTTIN_DB_DATABASE: "${BOTTIN_POSTGRES_DATABASE}" BOTTIN_DB_PASSWORD: "${BOTTIN_POSTGRES_PASSWORD}" BOTTIN_DB_USER: "${BOTTIN_POSTGRES_USER}" @@ -33,6 +34,7 @@ services: build: './bottin' image: 'git.agecem.com/agecem/bottin:latest' environment: + BOTTIN_WEB_API_HOST: 'bottin_api' BOTTIN_WEB_API_KEY: "${BOTTIN_API_KEY}" BOTTIN_WEB_PASSWORD: "${BOTTIN_WEB_PASSWORD}" BOTTIN_WEB_USER: "${BOTTIN_WEB_USER}" @@ -62,6 +64,7 @@ services: BOTTINAG_API_KEY: "${BOTTINAG_API_KEY}" BOTTINAG_BOTTIN_API_KEY: "${BOTTIN_API_KEY}" BOTTINAG_DB_DATABASE: "${BOTTINAG_POSTGRES_DATABASE}" + BOTTINAG_DB_HOST: 'bottin_ag_db' BOTTINAG_DB_PASSWORD: "${BOTTINAG_POSTGRES_PASSWORD}" BOTTINAG_DB_USER: "${BOTTINAG_POSTGRES_USER}" ports: @@ -77,6 +80,7 @@ services: build: './bottin-ag' image: 'git.agecem.com/agecem/bottin-ag:latest' environment: + BOTTINAG_WEB_API_HOST: 'bottin_ag_api' BOTTINAG_WEB_API_KEY: "${BOTTINAG_API_KEY}" BOTTINAG_WEB_PASSWORD: "${BOTTINAG_WEB_PASSWORD}" BOTTINAG_WEB_USER: "${BOTTINAG_WEB_USER}"