hugochat volume

This commit is contained in:
nora 2023-08-28 15:22:22 +02:00
parent 71949b7ea0
commit b849b19250
2 changed files with 11 additions and 1 deletions

View file

@ -43,9 +43,11 @@ services:
container_name: hugo-chat-db
image: "postgres:latest"
restart: always
# no ports bound, accessed via the hugo-chat network
volumes:
- "/apps/hugo-chat/data:/var/lib/postgresql/data"
environment:
POSTGRES_PASSWORD: "${HUGO_CHAT_DB_PASSWORD}"
PGDATA: "/var/lib/postgresql/data/pgdata"
networks:
- hugo-chat
hugo_chat_server: