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 - diun-data:/data volumes: diun-data: name: diun-data