28 lines
659 B
YAML
28 lines
659 B
YAML
services:
|
|
|
|
app:
|
|
image: linuxserver/pyload
|
|
environment:
|
|
- PUID=1000
|
|
- PGID=1000
|
|
- TZ=Europe/Berlin
|
|
volumes:
|
|
- ${VOLUMES_PATH}/pyload:/config
|
|
- ${DOWNLOAD_PATH}:/downloads
|
|
ports:
|
|
- 7227:7227 #optional Thrift Backend
|
|
networks:
|
|
- web
|
|
labels:
|
|
- "traefik.enable=true"
|
|
- "traefik.http.routers.pyload.rule=Host(`download.${DOMAIN}`)"
|
|
- "traefik.http.routers.pyload.entrypoints=web"
|
|
- "traefik.http.services.pyload.loadbalancer.server.port=8000"
|
|
- "docker.group=selfhost"
|
|
- "docker.group=download"
|
|
restart: unless-stopped
|
|
|
|
|
|
networks:
|
|
web:
|
|
external: true
|