From 17810d9001d9ca4659f7d3ba0a156ccdaf8e74a9 Mon Sep 17 00:00:00 2001 From: Victor Lacasse-Beaudoin Date: Mon, 23 Sep 2024 21:54:58 -0400 Subject: [PATCH] feature(compose): ajouter restart policy et TODOs --- deployments/compose/bottinagenda-acceptance/compose.yaml | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/deployments/compose/bottinagenda-acceptance/compose.yaml b/deployments/compose/bottinagenda-acceptance/compose.yaml index 6856b35..3286641 100644 --- a/deployments/compose/bottinagenda-acceptance/compose.yaml +++ b/deployments/compose/bottinagenda-acceptance/compose.yaml @@ -4,6 +4,7 @@ services: environment: POSTGRES_USER: 'bottin' POSTGRES_PASSWORD: 'bottin' + restart: 'unless-stopped' bottin_api: depends_on: @@ -17,6 +18,7 @@ services: BOTTIN_SERVER_DB_PASSWORD: 'bottin' BOTTIN_SERVER_DB_HOST: 'bottin_db' restart: 'unless-stopped' + #command: ['bottin', 'server', 'api'] command: ['cat', '/msg'] bottinagenda_db: @@ -24,10 +26,12 @@ services: environment: POSTGRES_USER: 'bottinagenda' POSTGRES_PASSWORD: 'bottinagenda' + restart: 'unless-stopped' bottinagenda_api: depends_on: - 'bottinagenda_db' + - 'bottin_api' image: 'git.agecem.com/bottin/bottinagenda:acceptance' build: context: '../../../' @@ -36,6 +40,9 @@ services: BOTTINAGENDA_SERVER_DB_USER: 'bottinagenda' BOTTINAGENDA_SERVER_DB_PASSWORD: 'bottinagenda' BOTTINAGENDA_SERVER_DB_HOST: 'bottinagenda_db' - #BOTTINAGENDA_BOTTIN_HOST? + BOTTINAGENDA_BOTTIN_HOST: 'bottin_api' restart: 'unless-stopped' + #command: ['bottinagenda', 'server', 'api'] command: ['cat', '/msg'] + + #TODO bottinagenda_test: