Files
game-grid/docker-compose.yml
2026-05-17 17:37:43 -04:00

29 lines
1.1 KiB
YAML

services:
game-grid:
build: .
ports:
- "3060:3000" # change the left side to expose on a different host port
volumes:
# Games library — mount your NAS share here (read-only)
# For a local path: ./games:/games:ro
# For a remote NAS already mounted on the host: /mnt/nas/games:/games:ro
- /data/smb/adult/Games:/games/private:ro
- /data/smb/media/Games/Computer:/games/public:ro
# Persistent SQLite database
- game-grid-data:/data
environment:
NODE_ENV: development
GAMES_PATH: /games
DB_PATH: /data/game-grid.db
# The URL clients use to reach this app — required for login to work.
# Examples: http://192.168.1.100:3000 | https://games.yourdomain.com
ORIGIN: http://games.lan
# Change these before deploying!
APP_PASSWORD: checkoutmygape
SESSION_SECRET: baodinvelsldhvoihyew93ldnvis9387
# Set to "true" only when the app sits behind an HTTPS reverse proxy
SECURE_COOKIES: "false"
restart: unless-stopped
volumes:
game-grid-data: