Last active
March 17, 2024 22:24
-
-
Save xqm32/8c4983f5a7b6f8b5decbe4f3ae431e6c to your computer and use it in GitHub Desktop.
Docker Compose for Flood.js and rTorrent
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# See https://github.com/jesec/flood/discussions/120 | |
# Access Flood and register a user with `/config/.local/share/rtorrent/rtorrent.sock` rTorrent socket path | |
services: | |
flood: | |
hostname: flood | |
image: jesec/flood:master | |
user: 0:0 | |
restart: unless-stopped | |
command: --port 3001 --allowedpath /data | |
environment: | |
HOME: /config | |
volumes: | |
- ./config:/config | |
- /root/service/data:/data | |
ports: | |
- 0.0.0.0:3001:3001 | |
rtorrent: | |
hostname: rtorrent | |
# See https://github.com/jesec/rtorrent/issues/56 | |
image: jesec/rtorrent:master-amd64 | |
user: 0:0 | |
restart: unless-stopped | |
# Do not use 6881! | |
command: -o network.port_range.set=49152-49152,system.daemon.set=true | |
environment: | |
HOME: /config | |
volumes: | |
- ./config:/config | |
- /root/service/data:/data | |
# ports: | |
# - 0.0.0.0:6881:6881 | |
# Easy to use IPv6 | |
network_mode: host |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment