Init Main project
This commit is contained in:
commit
9e581ae67f
220 changed files with 253987 additions and 0 deletions
35
docker-compose.yml
Normal file
35
docker-compose.yml
Normal file
|
|
@ -0,0 +1,35 @@
|
|||
services:
|
||||
app:
|
||||
build: .
|
||||
init: true
|
||||
environment:
|
||||
- PORT=3000
|
||||
- DATA_FILE=/app/state/db.json
|
||||
- ML_WEIGHTS_PATH=/app/state/ml_policy_weights.json
|
||||
- GMAT_BIN=/opt/gmat/bin/GmatConsole-R2026a
|
||||
- GMAT_CONSOLE_BIN=/opt/gmat/bin/GmatConsole-R2026a
|
||||
- GMAT_WORK_DIR=/app/state/gmat-work
|
||||
- ML_AI_ENABLED=${ML_AI_ENABLED:-1}
|
||||
- SIM_RATE=${SIM_RATE:-30}
|
||||
- AI_DISABLED=${AI_DISABLED:-0}
|
||||
- SPACEGAEM_PASSWORD=${SPACEGAEM_PASSWORD:-}
|
||||
volumes:
|
||||
- sgywftp_game_state:/app/state
|
||||
- ${GMAT_DIST_DIR:-../GMAT/GMAT-R2026a-Linux-x64}:/opt/gmat:ro
|
||||
# No exposed ports - only reachable via the tunnel
|
||||
restart: unless-stopped
|
||||
# ports:
|
||||
# - "3000:3000"
|
||||
|
||||
cloudflared:
|
||||
image: cloudflare/cloudflared:latest
|
||||
command: tunnel --no-autoupdate run --token ${TUNNEL_TOKEN}
|
||||
environment:
|
||||
- TUNNEL_TOKEN=${TUNNEL_TOKEN}
|
||||
depends_on:
|
||||
app:
|
||||
condition: service_healthy
|
||||
restart: unless-stopped
|
||||
|
||||
volumes:
|
||||
sgywftp_game_state:
|
||||
Loading…
Add table
Add a link
Reference in a new issue