Update README.md

This commit is contained in:
SeanOMik 2024-05-19 13:03:35 -04:00
parent d62e928a99
commit d75fb1c22c
Signed by: SeanOMik
GPG Key ID: FEC9E2FC15235964
1 changed files with 16 additions and 0 deletions

View File

@ -16,3 +16,19 @@ Currently the only configuration method is through environmental variables:
| PORT_UPD_PORT_FILE | The path to the file that contains the port. | `/tmp/gluetun/forwarded_port` | true | | | PORT_UPD_PORT_FILE | The path to the file that contains the port. | `/tmp/gluetun/forwarded_port` | true | |
| PORT_UPD_MAX_FAILURES | The amount of times to recheck the port before exiting. | 10 | false | 10 | | PORT_UPD_MAX_FAILURES | The amount of times to recheck the port before exiting. | 10 | false | 10 |
| PORT_UPD_RECHECK_PERIOD | The period, in second, to check the port. | 60 | false | 60 | | PORT_UPD_RECHECK_PERIOD | The period, in second, to check the port. | 60 | false | 60 |
## Docker image
Docker images are published [here](https://git.seanomik.net/SeanOMik/-/packages/container/gluetun-qbit-port-updater).
You can run the following command to run a docker container:
```shell
$ docker run -it --rm --name qbit-port-updater \
-v $PWD/shared/gluetun/forwarded_port:/tmp/gluetun/forwarded_port \
-e PORT_UPD_QBITTORRENT_LOGIN=admin \
-e PORT_UPD_QBITTORRENT_PASSWORD=adminadmin \
-e PORT_UPD_QBITTORRENT_HTTPS=false \
-e PORT_UPD_QBITTORRENT_HOST=localhost \
-e PORT_UPD_QBITTORRENT_PORT=8080 \
-e PORT_UPD_PORT_FILE=/tmp/gluetun/forwarded_port \
git.seanomik.net/seanomik/gluetun-qbit-port-updater:rolling-d62e928a
```