42 lines
1.1 KiB
YAML
42 lines
1.1 KiB
YAML
services:
|
|
dispatcharr:
|
|
image: ghcr.io/dispatcharr/dispatcharr:latest
|
|
container_name: dispatcharr
|
|
environment:
|
|
- PUID=1000
|
|
- PGID=1000
|
|
- TZ=America/Indiana/Indianapolis
|
|
- PORT=9191
|
|
# Route traffic through gluetun's HTTP proxy on download-stack
|
|
- HTTP_PROXY=http://192.168.1.122:38888
|
|
- HTTPS_PROXY=http://192.168.1.122:38888
|
|
- http_proxy=http://192.168.1.122:38888
|
|
- https_proxy=http://192.168.1.122:38888
|
|
# GPU settings (for future pve-alien, or CPU fallback)
|
|
- NVIDIA_VISIBLE_DEVICES=all
|
|
- NVIDIA_DRIVER_CAPABILITIES=compute,video,utility
|
|
volumes:
|
|
- ./data:/data
|
|
ports:
|
|
- "9191:9191"
|
|
restart: unless-stopped
|
|
networks:
|
|
- proxy
|
|
# Intel QuickSync access (pve-z620 has limited decode capability)
|
|
devices:
|
|
- /dev/dri:/dev/dri
|
|
group_add:
|
|
- video
|
|
- render
|
|
deploy:
|
|
resources:
|
|
limits:
|
|
memory: 2G
|
|
cpus: '2.0'
|
|
labels:
|
|
- "autoheal=true"
|
|
- "com.centurylinklabs.watchtower.enable=true"
|
|
|
|
networks:
|
|
proxy:
|
|
external: true
|