Merge pull request 'Cleanup docker-compose.yaml' (#27) from chores/cleanup-compose into main

Reviewed-on: #27
This commit is contained in:
Victor Lacasse-Beaudoin 2023-12-28 12:52:26 -05:00
commit d8fbd798c2

View file

@ -6,8 +6,6 @@ services:
POSTGRES_DATABASE: "${BOTTINAGENDA_POSTGRES_DATABASE}" POSTGRES_DATABASE: "${BOTTINAGENDA_POSTGRES_DATABASE}"
POSTGRES_PASSWORD: "${BOTTINAGENDA_POSTGRES_PASSWORD}" POSTGRES_PASSWORD: "${BOTTINAGENDA_POSTGRES_PASSWORD}"
POSTGRES_USER: "${BOTTINAGENDA_POSTGRES_USER}" POSTGRES_USER: "${BOTTINAGENDA_POSTGRES_USER}"
ports:
- '5433:5432'
volumes: volumes:
- 'db-data:/var/lib/postgresql/data' - 'db-data:/var/lib/postgresql/data'
restart: 'unless-stopped' restart: 'unless-stopped'
@ -35,14 +33,6 @@ services:
- 'web-config:/etc/bottin-agenda' - 'web-config:/etc/bottin-agenda'
restart: 'unless-stopped' restart: 'unless-stopped'
command: ['bottin-agenda', '--config', '/etc/bottin-agenda/web.yaml', 'web'] command: ['bottin-agenda', '--config', '/etc/bottin-agenda/web.yaml', 'web']
#adminer:
# image: adminer
# restart: always
# ports:
# - 8088:8080
# depends_on:
# - db
volumes: volumes:
db-data: db-data: