chore(docker): add .env.example and Docker Compose setup/build/run scripts

This commit is contained in:
tyuXX 2026-11-28 06:23:40 +00:00
parent 5701e77780
commit a1f26bc61f
12 changed files with 943 additions and 7 deletions

View file

@ -1,8 +1,12 @@
services:
gcoordinator:
environment:
- TRUST_CLOUDFLARE=false
- TRUST_CLOUDFLARE=${TRUST_CLOUDFLARE:-false}
- GCOORD_ALLOW_LAN_TUNNELS=${GCOORD_ALLOW_LAN_TUNNELS:-false}
ports:
- "${GCOORD_LAN_BIND:-127.0.0.1}:3000:3000"
- "${GCOORD_LAN_BIND:-127.0.0.1}:20000-20020:20000-20020"
- "${GCOORD_LAN_BIND:-127.0.0.1}:${GCOORD_HTTP_PORT:-3000}:3000"
- "${GCOORD_LAN_BIND:-127.0.0.1}:${GCOORD_PROXY_PORT:-3001}:${GCOORD_PROXY_PORT:-3001}"
- "${GCOORD_LAN_BIND:-127.0.0.1}:${GCOORD_TUNNEL_PORT_RANGE:-20000-20020}:${GCOORD_TUNNEL_PORT_RANGE:-20000-20020}"
cloudflared:
profiles: ["cloudflare"]