fix: vikunja

This commit is contained in:
Andras Bacsai
2024-07-15 12:51:04 +02:00
parent 0089e86dd1
commit 674fa4d09c
3 changed files with 27 additions and 28 deletions

View File

@@ -13,11 +13,15 @@ services:
- VIKUNJA_SERVICE_JWTSECRET=$SERVICE_PASSWORD_JWTSECRET
- VIKUNJA_SERVICE_ENABLEREGISTRATION=true
- VIKUNJA_DATABASE_PATH=/db/vikunja.db
- VIKUNJA_DATABASE_TYPE=sqlite
volumes:
- vikunja-data:/app/vikunja/
- vikunja-sqlite-data:/db
healthcheck:
test: ["CMD", "wget", "--spider", "http://127.0.0.1:3456"]
interval: 5s
timeout: 20s
retries: 10
depends_on:
- init
init:
image: busybox
restart: no
volumes:
- vikunja-sqlite-data:/db
command: ["sh", "-c", "touch /db/vikunja.db && chown -R 1000 /db"]