Skip to content

Commit 3455ede

Browse files
committed
New Docker-compose file
1 parent 6b5730d commit 3455ede

File tree

4 files changed

+28
-1
lines changed

4 files changed

+28
-1
lines changed

bittorrent-superseeder/README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,3 +26,7 @@ Refers to https://hub.docker.com/r/linuxserver/qbittorrent
2626

2727
Launch companion
2828
----------------
29+
30+
```
31+
docker run --network="host" --name=qbittorrent-zim-superseeder openzim/qbittorrent-zim-superseeder
32+
```

bittorrent-superseeder/bin/start.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,4 +9,5 @@ printf "
99
service cron start && crontab /etc/crontab
1010

1111
echo "Listening to cron logs..."
12+
sleep 2
1213
tail -f /var/log/sync_superseeder.log

bittorrent-superseeder/bin/sync_superseeder.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ set -e
55
FEED_URL="https://library.kiwix.org/catalog/search?count=20"
66
CURL="curl -s"
77
QBT="qbt"
8-
QBT_CREDENTIALS="--username admin --password adminadmin --url http://localhost:8080"
8+
QBT_CREDENTIALS="--username admin --password adminadmin --url http://qbittorrent:8080"
99

1010
ONLINE_ZIM_URLS="/dev/shm/online_zim_urls.tsv"
1111
ONLINE_ZIM_PATHS="/dev/shm/online_zim_paths.tsv"
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
version: '3.5'
2+
services:
3+
4+
qbittorrent:
5+
image: linuxserver/qbittorrent:4.4.1
6+
container_name: qbittorrent
7+
volumes:
8+
- "/tmp/downloads:/downloads"
9+
ports:
10+
- "6881:6881/udp"
11+
- "6881:6881/tcp"
12+
- "8080:8080/tcp"
13+
restart: always
14+
15+
qbittorrent-zim-superseeder:
16+
image: openzim/qbittorrent-zim-superseeder
17+
container_name: qbittorrent-zim-superseeder
18+
restart: always
19+
20+
networks:
21+
default:
22+
name: qbittorrent-zim-superseeder

0 commit comments

Comments
 (0)