Files
nas-compose/utilities.docker-compose.yml
2022-12-26 13:25:33 +01:00

36 lines
547 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