All checks were successful
CI / build-test (push) Successful in 1m3s
- Introduced `compose.yml` for deployment, pulling the image from the registry - Added `compose.dev.yml` for local development, building the image from source - Updated `README.md` and `.claude/CLAUDE.md` with instructions for both configurations - Introduced `DB_PATH` environment variable to customize SQLite database file location - Updated `main.go` to use `DB_PATH` with a default fallback (`./diun.db`)
16 lines
318 B
YAML
16 lines
318 B
YAML
services:
|
|
app:
|
|
image: gitea.jeanlucmakiola.de/makiolaj/diundashboard:latest
|
|
ports:
|
|
- "8080:8080"
|
|
environment:
|
|
- WEBHOOK_SECRET=${WEBHOOK_SECRET:-}
|
|
- PORT=${PORT:-8080}
|
|
- DB_PATH=/data/diun.db
|
|
volumes:
|
|
- diun-data:/data
|
|
restart: unless-stopped
|
|
|
|
volumes:
|
|
diun-data:
|