fix: for game-data folder

This commit is contained in:
Timothy Schenk 2023-11-12 15:27:59 +01:00
parent dc7daaef5c
commit 24a118d52a

View file

@ -1,7 +1,8 @@
services:
server:
container_name: continuity-server
image: server:latest
image: continuity:latest
restart: always
depends_on:
- db
environment:
@ -25,6 +26,7 @@
db:
container_name: continuity-db
image: postgres:16.0-alpine
restart: always
environment:
- POSTGRES_USER=continuity
- POSTGRES_DB=continuity
@ -34,19 +36,13 @@
volumes:
- db-data:/var/lib/postgresql/data
healthcheck:
test: [ "CMD-SHELL", "sh -c 'pg_isready -U ${POSTGRES_USER} -d ${POSTGRES_DB}'" ]
test: [ "CMD-SHELL", "pg_isready -U ${POSTGRES_USER} -d ${POSTGRES_DB}" ]
interval: 10s
timeout: 3s
retries: 3
networks:
continuity:
volumes:
db-data:
game-data:
driver: local
driver_opts:
type: none
device: ../wk-data
o: bind