iac/docker/portainer/docker-compose.yml

29 lines
886 B
YAML

services:
portainer:
image: portainer/portainer-ee@sha256:7270f8fc038005ba12d8a444303776357f54307764cfebfcd97ba892b69a3168
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
vikunja:
image: vikunja/vikunja@sha256:c93c58841215592c51a40fa978da25efadd1fff2460b42443c344132f322eef1
environment:
VIKUNJA_SERVICE_PUBLICURL: $VIKUNJA_SERVICE_PUBLICURL
VIKUNJA_DATABASE_TYPE: sqlite
VIKUNJA_SERVICE_JWTSECRET: $VIKUNJA_SERVICE_JWTSECRET
VIKUNJA_DATABASE_PATH: /db/vikunja.db
ports:
- 3456:3456
volumes:
- /home/mafyuh/vikunja/files:/app/vikunja/files
- /home/mafyuh/vikunja/db:/db
restart: unless-stopped
volumes:
portainer_data: