Add docker:local:* scripts with .env.docker (host Postgres), phase-b:init migrate-then-up for production, and document deploy workflows in DEPLOY-VPS.md. Co-authored-by: Cursor <cursoragent@cursor.com>
12 lines
515 B
Plaintext
12 lines
515 B
Plaintext
# Local dev (npm run dev — Vite sur :5173)
|
|
VITE_API_BASE_URL=http://localhost:4000
|
|
VITE_WS_ENABLED=true
|
|
VITE_WS_URL=ws://localhost:4001/ws/v1/games/candle-predict
|
|
|
|
# VPS HTTP (port 9080 — figé au build Docker via .env racine)
|
|
# 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 |