48 lines
1.4 KiB
YAML
48 lines
1.4 KiB
YAML
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'
|
|
environment:
|
|
BOTTIN_SERVER_DB_USER: 'bottin'
|
|
BOTTIN_SERVER_DB_PASSWORD: 'bottin'
|
|
BOTTIN_SERVER_DB_HOST: 'bottin_db'
|
|
restart: 'unless-stopped'
|
|
#command: ['bottin', 'server', 'api']
|
|
command: ['cat', '/msg']
|
|
|
|
bottinagenda_db:
|
|
image: 'postgres:16'
|
|
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: '../../../'
|
|
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: 'bottin_api'
|
|
restart: 'unless-stopped'
|
|
#command: ['bottinagenda', 'server', 'api']
|
|
command: ['cat', '/msg']
|
|
|
|
#TODO bottinagenda_test:
|