Add docker-compose.dev for local development

This commit is contained in:
2025-11-26 18:57:24 +01:00
parent a0141019b4
commit f0643645b8
3 changed files with 27 additions and 1 deletions
+15
View File
@@ -0,0 +1,15 @@
services:
api:
build: .
ports:
- "8080:8080"
environment:
- DB_PATH=/data/apocapoc.db
- JWT_SECRET=dev-secret-key-change-in-production
- JWT_EXPIRY=24h
- REFRESH_TOKEN_EXPIRY=168h
- CORS_ORIGINS=*
- DEFAULT_TIMEZONE=UTC
volumes:
- ./data:/data
restart: unless-stopped