bottinagenda/deployments/compose/bottinagenda-acceptance/compose.yaml
Victor Lacasse-Beaudoin c9e906bcee Initial commit
2024-09-23 20:31:06 -04:00

41 lines
1.1 KiB
YAML

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