Files
hoerdle/docker-compose.example.yml
Hördle Bot 28e716c52b fix: Docker deployment with Prisma 6.19.0
- Use local Prisma version in Dockerfile instead of npx
- Pin Prisma version in docker-compose to 6.19.0
- Fix data directory permissions for SQLite database
- Update docker-compose.example.yml with working configuration
2025-11-21 14:22:28 +01:00

19 lines
454 B
YAML

services:
hoerdle:
container_name: hoerdle
build:
context: .
dockerfile: Dockerfile
restart: always
ports:
- "3010:3000"
environment:
- DATABASE_URL=file:/app/data/prod.db
- ADMIN_PASSWORD=admin123 # Change this!
volumes:
- ./data:/app/data
- ./public/uploads:/app/public/uploads
# Initialize DB if needed
command: >
sh -c "npx -y prisma@6.19.0 db push && node server.js"