Files
selfhosting/deluge/docker-compose.deluge.yml
T

41 lines
911 B
YAML
Raw Normal View History

2020-07-07 19:06:14 +02:00
version: '3'
services:
deluge:
container_name: deluge
image: linuxserver/deluge
restart: unless-stopped
networks:
- srv
environment:
2020-07-07 19:49:29 +02:00
DELUGE_LOGLEVEL: info
2020-07-07 20:45:30 +02:00
TZ: ${TZ}
2020-07-07 19:06:14 +02:00
expose:
- 8112
2020-07-07 20:45:30 +02:00
ports:
2020-07-07 20:48:44 +02:00
- ${DELUGE_TORRENT_PORT}:${DELUGE_TORRENT_PORT}/tcp
- ${DELUGE_TORRENT_PORT}:${DELUGE_TORRENT_PORT}/udp
2020-07-07 19:39:36 +02:00
volumes:
- deluge_config:/config:rw
2021-10-03 19:32:44 +02:00
- deluge_downloads:/downloads:rw
environment:
- VIRTUAL_HOST=${HOST_DELUGE}.${DOMAIN}
- VIRTUAL_PORT=8112
2020-07-07 19:40:53 +02:00
2020-07-07 20:16:29 +02:00
torrent:
container_name: torrent
2020-07-07 20:31:41 +02:00
image: kianby/nginx-streaming
2020-07-07 20:16:29 +02:00
restart: unless-stopped
networks:
- srv
volumes:
2020-07-07 21:01:31 +02:00
- deluge_downloads:/downloads:ro
2020-07-07 20:16:29 +02:00
expose:
- 80
2021-10-03 19:32:44 +02:00
environment:
- VIRTUAL_HOST=${HOST_DELUGE_DOWNLOAD}.${DOMAIN}
- HTTPS_METHOD=nohttps
2020-07-07 20:16:29 +02:00
2020-07-07 19:40:53 +02:00
volumes:
deluge_config:
deluge_downloads: