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: services:
server: server:
container_name: continuity-server container_name: continuity-server
image: server:latest image: continuity:latest
restart: always
depends_on: depends_on:
- db - db
environment: environment:
@ -25,6 +26,7 @@
db: db:
container_name: continuity-db container_name: continuity-db
image: postgres:16.0-alpine image: postgres:16.0-alpine
restart: always
environment: environment:
- POSTGRES_USER=continuity - POSTGRES_USER=continuity
- POSTGRES_DB=continuity - POSTGRES_DB=continuity
@ -34,19 +36,13 @@
volumes: volumes:
- db-data:/var/lib/postgresql/data - db-data:/var/lib/postgresql/data
healthcheck: 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 interval: 10s
timeout: 3s timeout: 3s
retries: 3 retries: 3
networks: networks:
continuity: continuity:
volumes: volumes:
db-data: db-data:
game-data:
driver: local
driver_opts:
type: none
device: ../wk-data
o: bind