Files
games/docker-compose.yml
Ryan Hamamura ac2492e7c1
All checks were successful
CI / Deploy / test (push) Successful in 14s
CI / Deploy / lint (push) Successful in 25s
CI / Deploy / deploy (push) Successful in 33s
fix: correct volume mount path for database persistence
The container runs from / so data/games.db resolves to /data/games.db,
but the volume was mounted at /app/data.
2026-03-03 08:57:11 -10:00

15 lines
243 B
YAML

services:
games:
build: .
container_name: games
restart: unless-stopped
ports:
- "8080:8080"
env_file:
- path: .env
required: false
environment:
- PORT=8080
volumes:
- ./data:/data