forked from ehcaning/proxmox-docker-iac
-
Notifications
You must be signed in to change notification settings - Fork 0
/
torrent.yml
34 lines (34 loc) · 838 Bytes
/
torrent.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
name: deluge-gluetun
services:
gluetun:
image: qmcgaw/gluetun:latest
container_name: gluetun
restart: unless-stopped
cap_add:
- NET_ADMIN
devices:
- /dev/net/tun:/dev/net/tun
ports:
# expose deluge ports: https://github.com/linuxserver/docker-deluge
- 8112:8112
- 6881:6881
- 6881:6881/udp
- 58846:58846 #optional
environment:
- TZ=Europe/Berlin
- VPN_SERVICE_PROVIDER
- OPENVPN_USER
- OPENVPN_PASSWORD
deluge:
image: lscr.io/linuxserver/deluge:latest
container_name: deluge
network_mode: service:gluetun
depends_on:
- gluetun
environment:
- TZ=Europe/Berlin
- DELUGE_LOGLEVEL=error
volumes:
- /data/deluge/config:/config
- /data/deluge/downloads:/downloads
restart: unless-stopped