a3638fe954
Test and Lint / backend-test (push) Successful in 1m11s
continuous-integration/drone/push Build is passing
Test and Lint / frontend-test (push) Successful in 2m17s
Version and Release / version-bump (push) Successful in 43s
Version and Release / trigger-drone (push) Successful in 3s
- Add URL utility functions for building resource URLs - Update all components to use relative URLs in production - Add production deployment documentation - Update nginx config to proxy all required endpoints - Add .env.production.example with proper configuration
14 lines
547 B
Bash
14 lines
547 B
Bash
# Production Environment Configuration
|
|
# When running behind a reverse proxy like Traefik, use relative URLs
|
|
|
|
# Backend API URL
|
|
# For production behind reverse proxy, use relative URL:
|
|
VITE_API_URL=/api
|
|
|
|
# For development or if frontend/backend are on different domains:
|
|
# VITE_API_URL=https://api.yourdomain.com
|
|
|
|
# Umami Analytics Configuration (optional)
|
|
# VITE_UMAMI_URL=https://analytics.yourdomain.com
|
|
# VITE_UMAMI_WEBSITE_ID=your-website-id-from-umami
|
|
# VITE_UMAMI_SHARE_URL=https://analytics.yourdomain.com/share/your-share-id/photo-sharing |