Files
football-app/.env.example
henry 29db643407 Add nginx HTTP Basic Auth for production
A custom entrypoint generates /etc/nginx/.htpasswd at container startup
from AUTH_USER and AUTH_PASSWORD env vars (via openssl). No credentials
are baked into the image. Pass AUTH_USER and AUTH_PASSWORD in docker-compose.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-27 05:49:29 +01:00

10 lines
304 B
Plaintext

# Used by docker-compose (nginx injects it server-side — never exposed to browser)
FOOTBALL_API_KEY=your_api_key_here
# Only needed for local development (npm run dev)
VITE_FOOTBALL_API_KEY=your_api_key_here
# Basic auth credentials (production only)
AUTH_USER=henry
AUTH_PASSWORD=your_password_here