Files
hoerdle/docker-compose.example.yml
2025-11-22 11:55:50 +01:00

24 lines
724 B
YAML

services:
hoerdle:
container_name: hoerdle
build:
context: .
dockerfile: Dockerfile
user: root
restart: always
ports:
- "3010:3000"
environment:
- DATABASE_URL=file:/app/data/prod.db
- ADMIN_PASSWORD=admin123 # Change this!
- TZ=Europe/Berlin # Timezone for daily puzzle rotation
- GOTIFY_URL=https://gotify.example.com
- GOTIFY_APP_TOKEN=your_gotify_token
- OPENROUTER_API_KEY=your_openrouter_api_key
volumes:
- ./data:/app/data
- ./public/uploads:/app/public/uploads
# Initialize DB if needed and run migration
command: >
sh -c "npx -y prisma@6.19.0 db push && node scripts/migrate-covers.mjs && node server.js"