Update README.md

Added PEERPORT env options.
This commit is contained in:
Jeff R
2021-12-23 10:13:55 -05:00
committed by Ryan Kuba
parent 419a78466b
commit 271461d716

View File

@@ -104,6 +104,7 @@ services:
- PASS=password #optional - PASS=password #optional
- WHITELIST=iplist #optional - WHITELIST=iplist #optional
- HOST_WHITELIST=dnsnane list #optional - HOST_WHITELIST=dnsnane list #optional
- PEERPORT=51413 #optional
volumes: volumes:
- <path to data>:/config - <path to data>:/config
- <path to downloads>:/downloads - <path to downloads>:/downloads
@@ -128,6 +129,7 @@ docker run -d \
-e PASS=password `#optional` \ -e PASS=password `#optional` \
-e WHITELIST=iplist `#optional` \ -e WHITELIST=iplist `#optional` \
-e HOST_WHITELIST=dnsnane list `#optional` \ -e HOST_WHITELIST=dnsnane list `#optional` \
-e PEERPORT=51413 `#optional` \
-p 9091:9091 \ -p 9091:9091 \
-p 51413:51413 \ -p 51413:51413 \
-p 51413:51413/udp \ -p 51413:51413/udp \
@@ -155,6 +157,7 @@ Container images are configured using parameters passed at runtime (such as thos
| `-e PASS=password` | Specify an optional password for the interface | | `-e PASS=password` | Specify an optional password for the interface |
| `-e WHITELIST=iplist` | Specify an optional list of comma separated ip whitelist. Fill rpc-whitelist setting. | | `-e WHITELIST=iplist` | Specify an optional list of comma separated ip whitelist. Fill rpc-whitelist setting. |
| `-e HOST_WHITELIST=dnsnane list` | Specify an optional list of comma separated dns name whitelist. Fill rpc-host-whitelist setting. | | `-e HOST_WHITELIST=dnsnane list` | Specify an optional list of comma separated dns name whitelist. Fill rpc-host-whitelist setting. |
| `-e PEERPORT=51413` | Specify an optional alternative port for Tranmission to listen for TCP/UDP connections on.. Fill peer-port and disables peer-port-random-on-start settings. |
| `-v /config` | Where transmission should store config files and logs. | | `-v /config` | Where transmission should store config files and logs. |
| `-v /downloads` | Local path for downloads. | | `-v /downloads` | Local path for downloads. |
| `-v /watch` | Watch folder for torrent files. | | `-v /watch` | Watch folder for torrent files. |