2024-07-12 23:57:29 -04:00
|
|
|
services:
|
|
|
|
portainer:
|
2024-08-10 22:42:59 -04:00
|
|
|
image: portainer/portainer-ee@sha256:0aa305da72738d9f90a209bf74bdc74172004690fa298f52d5f92dd065f26aea
|
2024-07-12 23:57:29 -04:00
|
|
|
container_name: portainer
|
|
|
|
command: -H unix:///var/run/docker.sock
|
|
|
|
ports:
|
|
|
|
- "9000:9000"
|
|
|
|
- "9443:9443"
|
|
|
|
volumes:
|
|
|
|
- "/var/run/docker.sock:/var/run/docker.sock"
|
|
|
|
- "portainer_data:/data"
|
|
|
|
restart: always
|
|
|
|
|
2024-09-03 23:45:11 -04:00
|
|
|
vikunja:
|
|
|
|
image: vikunja/vikunja
|
|
|
|
environment:
|
|
|
|
VIKUNJA_SERVICE_PUBLICURL: http://<the public ip or host where Vikunja is reachable>
|
|
|
|
VIKUNJA_DATABASE_HOST: db
|
|
|
|
VIKUNJA_DATABASE_PASSWORD: changeme
|
|
|
|
VIKUNJA_DATABASE_TYPE: mysql
|
|
|
|
VIKUNJA_DATABASE_USER: vikunja
|
|
|
|
VIKUNJA_DATABASE_DATABASE: vikunja
|
|
|
|
VIKUNJA_SERVICE_JWTSECRET: <a super secure random secret>
|
|
|
|
ports:
|
|
|
|
- 3456:3456
|
|
|
|
volumes:
|
|
|
|
- /home/mafyuh/vikunja/files:/app/vikunja/files
|
|
|
|
depends_on:
|
|
|
|
db:
|
|
|
|
condition: service_healthy
|
|
|
|
restart: unless-stopped
|
|
|
|
db:
|
|
|
|
image: mariadb:10
|
|
|
|
command: --character-set-server=utf8mb4 --collation-server=utf8mb4_unicode_ci
|
|
|
|
environment:
|
|
|
|
MYSQL_ROOT_PASSWORD: supersecret
|
|
|
|
MYSQL_USER: vikunja
|
|
|
|
MYSQL_PASSWORD: changeme
|
|
|
|
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
|
|
|
|
|
2024-07-12 23:57:29 -04:00
|
|
|
volumes:
|
|
|
|
portainer_data:
|