Vikunja
---
services:
db-vikunja:
image: mariadb:10
container_name: db-vikunja
restart: unless-stopped
command: --character-set-server=utf8mb4 --collation-server=utf8mb4_unicode_ci
environment:
MYSQL_ROOT_PASSWORD: ${PASS-DB-ROOT-VIKUNJA}
MYSQL_USER: vikunja
MYSQL_PASSWORD: ${PASS-DB-USER-VIKUNJA}
MYSQL_DATABASE: vikunja
volumes:
- ${DATA-DB-VIKUNJA}:/var/lib/mysql
vikunja-api:
image: vikunja/api
container_name: vikunja-api
restart: unless-stopped
environment:
VIKUNJA_DATABASE_HOST: db-vikunja
VIKUNJA_DATABASE_PASSWORD: ${PASS-DB-USER-VIKUNJA}
VIKUNJA_DATABASE_TYPE: mysql
VIKUNJA_DATABASE_USER: vikunja
VIKUNJA_DATABASE_DATABASE: vikunja
VIKUNJA_SERVICE_JWTSECRET: ${KEY-VIKUNJA-JWT}
VIKUNJA_SERVICE_FRONTENDURL: ${URL-VIKUNJA}
ports:
- 3456:3456
volumes:
- ${DATA-VIKUNJA}:/app/vikunja/files
depends_on:
- db-vikunja
vikunja-fontend:
image: vikunja/frontend
container_name: vikunja-frontend
restart: unless-stopped
ports:
- 8088:80
environment:
VIKUNJA_API_URL: ${URL-VIKUNJA-API}