13 lines
436 B
Bash
13 lines
436 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 for the frontend container
|
||
|
|
FRONTEND_PORT=8080
|
||
|
|
|
||
|
|
# Backend env (used by ../backend-nest service in compose)
|
||
|
|
JWT_SECRET=replace-with-a-long-random-secret
|
||
|
|
# Must match the public URL users open in the browser (scheme + host + port).
|
||
|
|
CORS_ORIGIN=http://your-server:8080
|