diff --git a/scripts/components/40-deluge-beta.yaml b/scripts/components/40-deluge-beta.yaml new file mode 100644 index 00000000..36d66e10 --- /dev/null +++ b/scripts/components/40-deluge-beta.yaml @@ -0,0 +1,33 @@ +# +# Deluge - Torrent download engine +# + deluge: + restart: unless-stopped + image: sinaptika/deluge + container_name: deluge + hostname: deluge + cpu_shares: 1024 + ports: + - 50100:50100/tcp + - 50100:50100/udp + - 58846:58846/tcp + volumes: + - /etc/localtime:/etc/localtime:ro + - ${CONFIGS}/Deluge:/config + - ${DOWNLOADS}:/Downloads + - ${GOOGLE}:/Media + environment: + - PUID=${USERID} + - PGID=${GROUPID} + - TZ=${TIMEZONE} + - UMASK_SET=022 + - VIRTUAL_HOST=deluge.${MYDOMAIN} + - VIRTUAL_PORT=8112 + - VIRTUAL_NETWORK=nginx-proxy + - LETSENCRYPT_HOST=deluge.${MYDOMAIN} + - LETSENCRYPT_EMAIL=${MYEMAIL} + healthcheck: + test: ["CMD-SHELL", "netstat -ntlp | grep :8112"] + interval: 10s + timeout: 2s + retries: 3