fix: ajouter env vars *_DB_HOST

This commit is contained in:
Victor Lacasse-Beaudoin 2024-02-14 15:44:09 -05:00
parent 6e4d1869d6
commit 02078319a5

View file

@ -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}"