Files
infrastructure/ansible/roles/dispatcharr/templates/docker-compose.yml
2025-12-23 12:54:29 -05:00

25 lines
777 B
YAML

networks:
traefik:
external: true
services:
dispatcharr:
container_name: "{{ role_name }}"
image: ghcr.io/dispatcharr/dispatcharr:latest
restart: unless-stopped
network_mode: "container:gluetun"
environment:
- DISPATCHARR_ENV=aio
- REDIS_HOST=localhost
- CELERY_BROKER_URL=redis://localhost:6379/0
- DISPATCHARR_LOG_LEVEL=info
volumes:
- "{{ data_dir }}/{{ role_name }}:/data"
devices:
- /dev/dri/renderD128:/dev/dri/renderD128
labels:
traefik.enable: true
traefik.http.routers.dispatcharr.rule: "Host(`dispatcharr.local.{{ personal_domain }}`)"
traefik.http.routers.dispatcharr.middlewares: lan-whitelist@file
traefik.http.services.dispatcharr.loadbalancer.server.port: 9191