services:
bottin_db:
image: 'postgres:16'
environment:
POSTGRES_USER: 'bottin'
POSTGRES_PASSWORD: 'bottin'
restart: 'unless-stopped'
bottin_api:
depends_on:
- 'bottin_db'
image: 'git.agecem.com/bottin/bottin:acceptance'
build:
context: '../../../external/bottin/'
dockerfile: './deployments/docker/bottin/Dockerfile'
BOTTIN_SERVER_DB_USER: 'bottin'
BOTTIN_SERVER_DB_PASSWORD: 'bottin'
BOTTIN_SERVER_DB_HOST: 'bottin_db'
#command: ['bottin', 'server', 'api']
command: ['cat', '/msg']
bottinagenda_db:
POSTGRES_USER: 'bottinagenda'
POSTGRES_PASSWORD: 'bottinagenda'
bottinagenda_api:
- 'bottinagenda_db'
- 'bottin_api'
image: 'git.agecem.com/bottin/bottinagenda:acceptance'
context: '../../../'
dockerfile: './deployments/docker/bottinagenda/Dockerfile'
BOTTINAGENDA_SERVER_DB_USER: 'bottinagenda'
BOTTINAGENDA_SERVER_DB_PASSWORD: 'bottinagenda'
BOTTINAGENDA_SERVER_DB_HOST: 'bottinagenda_db'
BOTTINAGENDA_BOTTIN_HOST: 'bottin_api'
#command: ['bottinagenda', 'server', 'api']
#TODO bottinagenda_test: