Initial commit

This commit is contained in:
maths81
2026-06-11 22:13:55 +08:00
commit 96a6a99963
13 changed files with 1358 additions and 0 deletions

22
compose.prod.yml Normal file
View File

@@ -0,0 +1,22 @@
services:
game:
build:
context: .
environment:
NODE_ENV: production
PORT: 3000
ports:
- "127.0.0.1:17979:3000"
restart: unless-stopped
healthcheck:
test:
- CMD
- wget
- --quiet
- --tries=1
- --spider
- http://127.0.0.1:3000/health
interval: 30s
timeout: 3s
retries: 3
start_period: 10s