2026-08-06 10:13:43 +02:00
|
|
|
# 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
|
|
|
|
|
|
2026-10-12 14:40:37 +03:30
|
|
|
# Host port published for the frontend container
|
2026-08-06 10:13:43 +02:00
|
|
|
FRONTEND_PORT=8080
|
|
|
|
|
|
2026-10-12 14:40:37 +03:30
|
|
|
# Backend env (compose service `backend`)
|
|
|
|
|
JWT_SECRET=<replace-with-48+-character-random-secret>
|
2026-08-06 10:13:43 +02:00
|
|
|
# Must match the public URL users open in the browser (scheme + host + port).
|
2026-10-12 14:40:37 +03:30
|
|
|
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
|