Make Docker more usable

This commit is contained in:
andy10niggabit 2020-05-16 14:14:51 +02:00
parent aa0e672a2a
commit 47d8384366
2 changed files with 10 additions and 1 deletions

View File

@ -5,4 +5,4 @@ COPY build.sh /build.sh
RUN bash /build.sh
ENTRYPOINT deluged && deluge-web --fork && bash
ENTRYPOINT cp /premiere-deluge-plugin/dist/*.egg ~/.config/deluge/plugins/ && deluged && deluge-web --fork && bash

View File

@ -12,6 +12,15 @@ To read more about what premiere mode does, see below.
5. Default password is "deluge"
6. Right click torrents and select "Premiere Mode" to put them in premiere mode
#### Persistent storage
To have Deluge keep its settings and files between restarts you need to mount volumes.
Add to the `docker run` command: `-v "${PWD}/Downloads:/root/Downloads" -v "${PWD}/config:/root/.config"`
#### Public ports
To have Deluge be connectable you need to have it listen to your public IP.
1. Force a listening port in Deluge configuration
2. Add `-p 1.2.3.4:12345:12345` to the `docker run` command if your port is 12345 and your ip is 1.2.3.4
#### What is "Premiere Mode"?
Setting a torrent to premiere mode causes all of its pieces to become
unavailble to peers except the first piece. After all peers in the swarm