games_app/prediqo_web/.env.example
2026-10-26 15:20:29 +02:00

22 lines
1022 B
Plaintext

# Local dev (npm run dev — Vite sur :5173)
# Security / Support / Candle WS use same-origin in production builds.
# In Vite DEV only, explicit VITE_WS_* may point at backend-ws :4001.
VITE_API_BASE_URL=http://localhost:4000
VITE_WS_ENABLED=true
VITE_WS_URL=ws://localhost:4001/ws/v1/games/candle-predict
# Optional overrides (same host as the page in prod; :4001 only for local DEV):
# VITE_WS_SECURITY_URL=ws://localhost:4001/ws/v1/security
# VITE_WS_SUPPORT_URL=ws://localhost:4001/ws/v1/support
# Observability (optional)
# VITE_SENTRY_DSN=https://...@sentry.io/...
# VITE_SENTRY_TRACES_SAMPLE_RATE=0.1
# VPS HTTP (port 9080 — figé au build Docker via .env racine)
# Do NOT use public :4001 — nginx proxies /ws/ on 9080/9443.
# VITE_API_BASE_URL=http://prediqo.redirectme.net:9080
# VITE_WS_URL=ws://prediqo.redirectme.net:9080/ws/v1/games/candle-predict
# VPS HTTPS (port 9443)
# VITE_API_BASE_URL=https://prediqo.redirectme.net:9443
# VITE_WS_URL=wss://prediqo.redirectme.net:9443/ws/v1/games/candle-predict