diff --git a/Dockerfile b/Dockerfile index cf77b3b..287a857 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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 diff --git a/README.md b/README.md index c255282..1b4fcc8 100644 --- a/README.md +++ b/README.md @@ -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