Add docker-compose configuration for deluge service

This commit is contained in:
2025-11-21 18:54:07 -05:00
parent ece20cca86
commit da5ac2bc28

27
deluge/docker-compose.yml Normal file
View File

@@ -0,0 +1,27 @@
---
#version: "2.1" # Phased/outdated. Not needed if running portainer or newest version of compose
services:
deluge:
image: lscr.io/linuxserver/deluge:latest
container_name: deluge
environment:
- PUID=1000
- PGID=1006
- TZ=America/New_York
- DELUGE_LOGLEVEL=error #optional
volumes:
- /docker-containers/deluge:/config
- /unsorted/deluge:/downloads
ports:
- 8112:8112
- 12881:12881
- 12881:12881/udp
restart: unless-stopped
stdin_open: true # to attach to containers
tty: true # also used to attach to containers
networks: # Specify network for container
- homelab
networks: # I don't know why but you have to specify the network 2x. In service, and in this tag area..
homelab:
name: homelab # Networks can also be given a custom name
external: true # This option causes compose to join the above network instead of making a _default one (supposedly)