Make SITE_URL and AUTH_SECRET configurable via environment variables for any deployment

This commit is contained in:
2025-10-01 23:12:22 -04:00
parent bd33432721
commit 966f1bae5d
4 changed files with 70 additions and 14 deletions

9
.env.example Normal file
View File

@@ -0,0 +1,9 @@
# Site Configuration
# The public URL where your application will be hosted
# This is used for QR codes and other absolute URLs
SITE_URL=https://your-domain.com
# Authentication Secret
# Generate a secure random string for production
# You can use: openssl rand -hex 32
AUTH_SECRET=change-this-secret-in-production