vps/roles/diun/templates/docker-compose.yaml

14 lines
317 B
YAML

services:
diun:
image: docker.io/crazymax/diun:4
container_name: diun
command: serve
restart: always
env_file: .env
volumes:
- {{ docker_host | regex_replace('^unix://', '') }}:/var/run/docker.sock:ro
- ./images.yml:/etc/diun/images.yml:ro
- data:/data
volumes:
data: