Update docker/portainer/docker-compose.yml

This commit is contained in:
Matt Reeves 2024-09-03 23:51:47 -04:00
parent 445f2f9aa2
commit a42541bc44

View file

@ -12,15 +12,15 @@ services:
restart: always restart: always
vikunja: vikunja:
image: vikunja/vikunja image: vikunja/vikunja@sha256:c31c7d6cad49038ab8a7d1414845d4c45539b43dd6ddd082bcd148e6fcd7b01c
environment: environment:
VIKUNJA_SERVICE_PUBLICURL: http://<the public ip or host where Vikunja is reachable> VIKUNJA_SERVICE_PUBLICURL: $VIKUNJA_SERVICE_PUBLICURL
VIKUNJA_DATABASE_HOST: db VIKUNJA_DATABASE_HOST: db
VIKUNJA_DATABASE_PASSWORD: changeme VIKUNJA_DATABASE_PASSWORD: $VIKUNJA_DATABASE_PASSWORD
VIKUNJA_DATABASE_TYPE: mysql VIKUNJA_DATABASE_TYPE: mysql
VIKUNJA_DATABASE_USER: vikunja VIKUNJA_DATABASE_USER: vikunja
VIKUNJA_DATABASE_DATABASE: vikunja VIKUNJA_DATABASE_DATABASE: vikunja
VIKUNJA_SERVICE_JWTSECRET: <a super secure random secret> VIKUNJA_SERVICE_JWTSECRET: $VIKUNJA_SERVICE_JWTSECRET
ports: ports:
- 3456:3456 - 3456:3456
volumes: volumes:
@ -33,9 +33,9 @@ services:
image: mariadb:10 image: mariadb:10
command: --character-set-server=utf8mb4 --collation-server=utf8mb4_unicode_ci command: --character-set-server=utf8mb4 --collation-server=utf8mb4_unicode_ci
environment: environment:
MYSQL_ROOT_PASSWORD: supersecret MYSQL_ROOT_PASSWORD: $MYSQL_ROOT_PASSWORD
MYSQL_USER: vikunja MYSQL_USER: vikunja
MYSQL_PASSWORD: changeme MYSQL_PASSWORD: $MYSQL_PASSWORD
MYSQL_DATABASE: vikunja MYSQL_DATABASE: vikunja
volumes: volumes:
- /home/mafyuh/vikunja/db:/var/lib/mysql - /home/mafyuh/vikunja/db:/var/lib/mysql