17 lines
595 B
Bash
17 lines
595 B
Bash
# Copy to .env.docker on the server (never commit secrets).
|
|
#
|
|
# Build-time: API base URL for the Vue app (/api = nginx proxies to backend).
|
|
VITE_API_URL=/api
|
|
|
|
# Host port published for the frontend container
|
|
FRONTEND_PORT=8080
|
|
|
|
# Backend env (compose service `backend`)
|
|
JWT_SECRET=<replace-with-48+-character-random-secret>
|
|
# Must match the public URL users open in the browser (scheme + host + port).
|
|
CORS_ORIGIN=http://<your-trial-host>:8080
|
|
|
|
# Backend (set in compose for trial stack — override only if needed)
|
|
# TRUST_PROXY=true
|
|
# TRUST_PROXY_CIDRS=10.0.0.0/8,172.16.0.0/12,192.168.0.0/16
|