chores: cleanup docker-compose.yaml

Retirer exposition de port database (issue #25)
Retirer section adminer en commentaires
This commit is contained in:
Victor Lacasse-Beaudoin 2023-12-28 12:47:42 -05:00
parent c3a943546b
commit a101d6a50d

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: