chore(docker): update Docker and Next.js config
This commit is contained in:
@@ -15,10 +15,13 @@ services:
|
||||
- DATABASE_URL=file:/app/prisma/dev.db
|
||||
- NODE_ENV=production
|
||||
|
||||
# Application (Change these!)
|
||||
# Application (IMPORTANT: Change these!)
|
||||
- NEXTAUTH_URL=http://your-domain.com:3000
|
||||
- NEXTAUTH_SECRET=change-this-to-a-random-secret-string
|
||||
|
||||
# Disable Next.js telemetry
|
||||
- NEXT_TELEMETRY_DISABLED=1
|
||||
|
||||
# AI Provider (Optional - for OpenAI)
|
||||
# - OPENAI_API_KEY=your-openai-api-key-here
|
||||
|
||||
@@ -45,7 +48,7 @@ services:
|
||||
reservations:
|
||||
cpus: '0.5'
|
||||
memory: 512M
|
||||
# Optional: Health check
|
||||
# Health check for automatic restart
|
||||
healthcheck:
|
||||
test: ["CMD", "wget", "--spider", "-q", "http://localhost:3000"]
|
||||
interval: 30s
|
||||
@@ -73,14 +76,6 @@ services:
|
||||
# reservations:
|
||||
# cpus: '2'
|
||||
# memory: 4G
|
||||
# # GPU support for Proxmox with GPU passthrough
|
||||
# # deploy:
|
||||
# # resources:
|
||||
# # reservations:
|
||||
# # devices:
|
||||
# # - driver: nvidia
|
||||
# # count: 1
|
||||
# # capabilities: [gpu]
|
||||
|
||||
networks:
|
||||
keep-network:
|
||||
|
||||
Reference in New Issue
Block a user