Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
Fullaxx committed Mar 28, 2019
1 parent 34e3433 commit 16a84e1
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
[Ubuntu](https://hub.docker.com/_/ubuntu) 18.04 (x64)

## Software
[rtorrent](https://rakshasa.github.io/rtorrent/) - An ncurses-based bittorrent application
[rtorrent](https://rakshasa.github.io/rtorrent/) - An ncurses-based bittorrent application \
[openvpn](https://openvpn.net/)

## Get the image from Docker Hub
Expand All @@ -21,6 +21,7 @@ Output: Your downloaded data will reside here
```
-v /srv/docker/rtorrent/torrents:/rtorrent/torrents
```

## Optional Volume Options
Configuration: Any .ovpn files or a custom rtorrent.rc can be placed in /srv/docker/rtorrent/config/
```
Expand All @@ -34,25 +35,25 @@ Session State: Use this to save your session for fast restore/resume
## Run the image
Run the image using the default port without OpenVPN
```
docker run \
docker run -it \
-v /srv/docker/rtorrent/autoload:/rtorrent/autoload \
-v /srv/docker/rtorrent/torrents:/rtorrent/torrents \
-it -p 49164:49164 fullaxx/rtorrent-openvpn
-p 49164:49164 fullaxx/rtorrent-openvpn
```
Run the image using the default port with OpenVPN \
Make sure that your myconnection.ovpn exists in /srv/docker/rtorrent/config/
```
docker run --cap-add=NET_ADMIN --device /dev/net/tun \
docker run -it --cap-add=NET_ADMIN --device /dev/net/tun \
-e OVPNCFG='myconnection.ovpn' \
-e OVPNSLEEPTIME='4' \
-v /srv/docker/rtorrent/autoload:/rtorrent/autoload \
-v /srv/docker/rtorrent/torrents:/rtorrent/torrents \
-v /srv/docker/rtorrent/config:/rtorrent/config \
-v /srv/docker/rtorrent/session:/rtorrent/session \
-it -p 49164:49164 fullaxx/rtorrent-openvpn
-p 49164:49164 fullaxx/rtorrent-openvpn
```

## Build it locally using the github repository
```
docker build -t="fullaxx/rtorrent-openvpn" github.com/fullaxx/rtorrent-openvpn
docker build -t="fullaxx/rtorrent-openvpn" github.com/Fullaxx/rtorrent-openvpn
```

0 comments on commit 16a84e1

Please sign in to comment.