Skip to content

Instantly share code, notes, and snippets.

@xqm32
Created March 11, 2023 08:02
Show Gist options
  • Save xqm32/d9c05914e6ecbc864fd17ab9ca92aaf4 to your computer and use it in GitHub Desktop.
Save xqm32/d9c05914e6ecbc864fd17ab9ca92aaf4 to your computer and use it in GitHub Desktop.
Flood, Alist and RTorrent Docker Compose File
services:
# See https://github.com/jesec/flood/discussions/120
# Access Flood and register a user with `/config/.local/share/rtorrent/rtorrent.sock` rTorrent socket path
flood:
hostname: flood
image: jesec/flood:master
user: 0:0
restart: unless-stopped
command: --port 3001 --allowedpath /data
environment:
HOME: /config
volumes:
- ./config:/config
- ./data:/data
network_mode: host
container_name: flood
# See https://alist.nn.ci/guide/install/docker.html
# See the log output for the admin's info: `docker exec -it alist ./alist admin`
alist:
restart: always
volumes:
- ./config:/opt/alist/data
- ./data:/data
network_mode: host
environment:
- PUID=0
- PGID=0
- UMASK=022
container_name: alist
image: xhofe/alist-aria2:latest
rtorrent:
hostname: rtorrent
# See https://github.com/jesec/rtorrent/issues/56
image: jesec/rtorrent:master-amd64
user: 0:0
restart: unless-stopped
command: -o network.port_range.set=49152-65535,system.daemon.set=true
environment:
HOME: /config
volumes:
- ./config:/config
- ./data:/data
network_mode: host
container_name: rtorrent
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment