feature(compose): ajouter restart policy et TODOs
This commit is contained in:
parent
4e4f52a8bf
commit
17810d9001
1 changed files with 8 additions and 1 deletions
|
@ -4,6 +4,7 @@ services:
|
||||||
environment:
|
environment:
|
||||||
POSTGRES_USER: 'bottin'
|
POSTGRES_USER: 'bottin'
|
||||||
POSTGRES_PASSWORD: 'bottin'
|
POSTGRES_PASSWORD: 'bottin'
|
||||||
|
restart: 'unless-stopped'
|
||||||
|
|
||||||
bottin_api:
|
bottin_api:
|
||||||
depends_on:
|
depends_on:
|
||||||
|
@ -17,6 +18,7 @@ services:
|
||||||
BOTTIN_SERVER_DB_PASSWORD: 'bottin'
|
BOTTIN_SERVER_DB_PASSWORD: 'bottin'
|
||||||
BOTTIN_SERVER_DB_HOST: 'bottin_db'
|
BOTTIN_SERVER_DB_HOST: 'bottin_db'
|
||||||
restart: 'unless-stopped'
|
restart: 'unless-stopped'
|
||||||
|
#command: ['bottin', 'server', 'api']
|
||||||
command: ['cat', '/msg']
|
command: ['cat', '/msg']
|
||||||
|
|
||||||
bottinagenda_db:
|
bottinagenda_db:
|
||||||
|
@ -24,10 +26,12 @@ services:
|
||||||
environment:
|
environment:
|
||||||
POSTGRES_USER: 'bottinagenda'
|
POSTGRES_USER: 'bottinagenda'
|
||||||
POSTGRES_PASSWORD: 'bottinagenda'
|
POSTGRES_PASSWORD: 'bottinagenda'
|
||||||
|
restart: 'unless-stopped'
|
||||||
|
|
||||||
bottinagenda_api:
|
bottinagenda_api:
|
||||||
depends_on:
|
depends_on:
|
||||||
- 'bottinagenda_db'
|
- 'bottinagenda_db'
|
||||||
|
- 'bottin_api'
|
||||||
image: 'git.agecem.com/bottin/bottinagenda:acceptance'
|
image: 'git.agecem.com/bottin/bottinagenda:acceptance'
|
||||||
build:
|
build:
|
||||||
context: '../../../'
|
context: '../../../'
|
||||||
|
@ -36,6 +40,9 @@ services:
|
||||||
BOTTINAGENDA_SERVER_DB_USER: 'bottinagenda'
|
BOTTINAGENDA_SERVER_DB_USER: 'bottinagenda'
|
||||||
BOTTINAGENDA_SERVER_DB_PASSWORD: 'bottinagenda'
|
BOTTINAGENDA_SERVER_DB_PASSWORD: 'bottinagenda'
|
||||||
BOTTINAGENDA_SERVER_DB_HOST: 'bottinagenda_db'
|
BOTTINAGENDA_SERVER_DB_HOST: 'bottinagenda_db'
|
||||||
#BOTTINAGENDA_BOTTIN_HOST?
|
BOTTINAGENDA_BOTTIN_HOST: 'bottin_api'
|
||||||
restart: 'unless-stopped'
|
restart: 'unless-stopped'
|
||||||
|
#command: ['bottinagenda', 'server', 'api']
|
||||||
command: ['cat', '/msg']
|
command: ['cat', '/msg']
|
||||||
|
|
||||||
|
#TODO bottinagenda_test:
|
||||||
|
|
Loading…
Reference in a new issue