fix vikunja
This commit is contained in:
parent
a42541bc44
commit
aaad8ef977
1 changed files with 3 additions and 23 deletions
|
@ -15,35 +15,15 @@ services:
|
||||||
image: vikunja/vikunja@sha256:c31c7d6cad49038ab8a7d1414845d4c45539b43dd6ddd082bcd148e6fcd7b01c
|
image: vikunja/vikunja@sha256:c31c7d6cad49038ab8a7d1414845d4c45539b43dd6ddd082bcd148e6fcd7b01c
|
||||||
environment:
|
environment:
|
||||||
VIKUNJA_SERVICE_PUBLICURL: $VIKUNJA_SERVICE_PUBLICURL
|
VIKUNJA_SERVICE_PUBLICURL: $VIKUNJA_SERVICE_PUBLICURL
|
||||||
VIKUNJA_DATABASE_HOST: db
|
VIKUNJA_DATABASE_TYPE: sqlite
|
||||||
VIKUNJA_DATABASE_PASSWORD: $VIKUNJA_DATABASE_PASSWORD
|
|
||||||
VIKUNJA_DATABASE_TYPE: mysql
|
|
||||||
VIKUNJA_DATABASE_USER: vikunja
|
|
||||||
VIKUNJA_DATABASE_DATABASE: vikunja
|
|
||||||
VIKUNJA_SERVICE_JWTSECRET: $VIKUNJA_SERVICE_JWTSECRET
|
VIKUNJA_SERVICE_JWTSECRET: $VIKUNJA_SERVICE_JWTSECRET
|
||||||
|
VIKUNJA_DATABASE_PATH: /db/vikunja.db
|
||||||
ports:
|
ports:
|
||||||
- 3456:3456
|
- 3456:3456
|
||||||
volumes:
|
volumes:
|
||||||
- /home/mafyuh/vikunja/files:/app/vikunja/files
|
- /home/mafyuh/vikunja/files:/app/vikunja/files
|
||||||
depends_on:
|
- /home/mafyuh/vikunja/db:/db
|
||||||
db:
|
|
||||||
condition: service_healthy
|
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
db:
|
|
||||||
image: mariadb:10
|
|
||||||
command: --character-set-server=utf8mb4 --collation-server=utf8mb4_unicode_ci
|
|
||||||
environment:
|
|
||||||
MYSQL_ROOT_PASSWORD: $MYSQL_ROOT_PASSWORD
|
|
||||||
MYSQL_USER: vikunja
|
|
||||||
MYSQL_PASSWORD: $MYSQL_PASSWORD
|
|
||||||
MYSQL_DATABASE: vikunja
|
|
||||||
volumes:
|
|
||||||
- /home/mafyuh/vikunja/db:/var/lib/mysql
|
|
||||||
restart: unless-stopped
|
|
||||||
healthcheck:
|
|
||||||
test: ["CMD-SHELL", "mysqladmin ping -h localhost -u $$MYSQL_USER --password=$$MYSQL_PASSWORD"]
|
|
||||||
interval: 2s
|
|
||||||
start_period: 30s
|
|
||||||
|
|
||||||
volumes:
|
volumes:
|
||||||
portainer_data:
|
portainer_data:
|
||||||
|
|
Loading…
Reference in a new issue