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: