Files
gold_land_user/.env.docker.example
T
safavimohadeseh78andCursor 653f1b0c5a feat(docker): add nginx frontend image and full-stack compose
Build static assets with Vite, proxy /api to backend, and document server env vars.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-06 10:13:43 +02:00

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