feat: Enhance deployment scripts with environment variable validation and loading

This commit is contained in:
2025-09-12 09:21:53 +02:00
parent 95ef139843
commit c1d49689da
3 changed files with 50 additions and 0 deletions

View File

@@ -15,4 +15,6 @@ services:
- ./data:/app/data
environment:
- NODE_ENV=production
- NEXTAUTH_SECRET=${NEXTAUTH_SECRET:-your-secret-key-generate-a-strong-random-string-at-least-32-characters}
- NEXTAUTH_URL=${NEXTAUTH_URL:-https://panel2.wastpol.pl}
restart: unless-stopped