summaryrefslogtreecommitdiff
path: root/torrent
diff options
context:
space:
mode:
authorhc <hc@a.nub.ninja>2026-02-07 12:15:01 +0000
committerhc <hc@a.nub.ninja>2026-02-07 12:15:01 +0000
commitf6cdeabe2f57b97299308e16486958ed122315b9 (patch)
treec570f1b5ef373eb251c8504992b95f1b7789746f /torrent
initial commitHEADmain
Diffstat (limited to 'torrent')
-rw-r--r--torrent/Dockerfile14
-rw-r--r--torrent/docker-compose.yml8
2 files changed, 22 insertions, 0 deletions
diff --git a/torrent/Dockerfile b/torrent/Dockerfile
new file mode 100644
index 0000000..3a4fd53
--- /dev/null
+++ b/torrent/Dockerfile
@@ -0,0 +1,14 @@
1FROM rockylinux/rockylinux:10
2
3RUN dnf install -y epel-release && \
4 dnf install -y aria2 python3-pip curl tmux bmon && \
5 pip install aria2p[tui] && \
6 dnf clean all
7
8RUN echo 'alias ls="ls --color=auto"' >> /root/.bashrc && \
9 echo 'alias ll="ls -lah --color=auto"' >> /root/.bashrc && \
10 echo 'export PS1="[\u@torrent \W]\$ "' >> /root/.bashrc
11
12WORKDIR /downloads
13
14ENTRYPOINT ["aria2c", "--dir=/downloads", "--enable-rpc", "--rpc-listen-all", "--file-allocation=trunc", "--bt-tracker=udp://tracker.opentrackr.org:1337/announce,udp://open.stealth.si:80/announce,udp://tracker.torrent.eu.org:451/announce,udp://exodus.desync.com:6969/announce,udp://tracker.openbittorrent.com:6969/announce"]
diff --git a/torrent/docker-compose.yml b/torrent/docker-compose.yml
new file mode 100644
index 0000000..967934c
--- /dev/null
+++ b/torrent/docker-compose.yml
@@ -0,0 +1,8 @@
1services:
2 torrent:
3 build: .
4 container_name: torrent
5 network_mode: "container:mullvad-vpn"
6 volumes:
7 - /root/downloads:/downloads:z
8 restart: unless-stopped