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

16 lines
347 B
YAML
Raw Normal View History

2024-09-07 10:16:47 +02:00
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