vps/roles/diun/templates/docker-compose.yaml
2024-09-07 10:16:47 +02:00

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