Files
nas-compose/utilities.docker-compose.yml
Colin Hebert 5032c564b8 Set up diun
2022-12-26 13:24:02 +01:00

35 lines
546 B
YAML

services:
diun:
image: crazymax/diun
networks:
- docker
- gotify
volumes:
- diun:/data
configs:
- source: diun
target: /etc/diun/
secrets:
- gotify_token
restart: unless-stopped
networks:
docker:
external: true
gotify:
external: true
volumes:
diun:
driver_opts:
type: none
o: bind
device: ${MOUNT_DIR?}/diun/data/
configs:
diun:
file: ${MOUNT_DIR?}/diun/config/
secrets:
gotify_token:
file: ${MOUNT_DIR?}/diun/secrets/gotify_token