Files
vontor-cz/frontend/.env.example
David Bruno Vontor f4c4a8bfd1 Sanitize envs, optimize Dockerfile, Turnstile
Redact sensitive AWS keys in backend/.env.example and add VITE_TURNSTILE_SITE_KEY and VITE_USE_TURNSTILE to frontend/.env.example. Optimize backend Dockerfile by installing Python requirements immediately after copying requirements.txt (enables Docker cache) and remove the duplicate later install. Update turnstile verification to skip checks when USE_SSL is disabled (dev/non-HTTPS) and keep the existing no-secret bypass; add debug logging for the SSL bypass.
2026-06-11 14:04:23 +02:00

14 lines
584 B
Plaintext

# Base URL of the Django backend (must include /api/ if your axios baseURL expects it).
VITE_BACKEND_URL="http://localhost:8000/api/"
VITE_BACKEND_WS_URL="ws://localhost:8000/"
# Optional override for the WebSocket base. If unset, derived from VITE_BACKEND_URL
# (the `/api` suffix is stripped automatically; only the host is used).
# VITE_WS_URL="ws://localhost:8000"
# Auth endpoints (defaults match Django routes; only override if you changed them).
# VITE_API_REFRESH_URL=/api/token/refresh/
# VITE_LOGIN_PATH=/social/login
VITE_TURNSTILE_SITE_KEY="xxx"
VITE_USE_TURNSTILE=true