add project
This commit is contained in:
26
docker-compose.yml
Normal file
26
docker-compose.yml
Normal file
@@ -0,0 +1,26 @@
|
||||
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
|
||||
- ./data:/data
|
||||
environment:
|
||||
NODE_ENV: production
|
||||
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
|
||||
Reference in New Issue
Block a user