Merge pull request #1072 from storrington/patch-1

Update README.md
This commit is contained in:
Alejandro Celaya 2024-02-24 10:53:06 +01:00 committed by GitHub
commit 435a993ff0
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -75,7 +75,7 @@ If you are using the shlink-web-client docker image, you can mount the `servers.
Alternatively, you can mount a `conf.d` directory, which in turn contains the `servers.json` file, in a volume inside `/usr/share/nginx/html`. *(since shlink-web-client 3.2.0)*.
docker run --name shlink-web-client -p 8000:80 -v ${PWD}/my-config/:/usr/share/nginx/html/conf.d/ shlinkio/shlink-web-client
docker run --name shlink-web-client -p 8000:8080 -v ${PWD}/my-config/:/usr/share/nginx/html/conf.d/ shlinkio/shlink-web-client
If you want to pre-configure a single server, you can provide its config via env vars. When the container starts up, it will build the `servers.json` file dynamically based on them. *(since shlink-web-client 3.2.0)*.
@ -86,7 +86,7 @@ If you want to pre-configure a single server, you can provide its config via env
```shell
docker run \
--name shlink-web-client \
-p 8000:80 \
-p 8000:8080 \
-e SHLINK_SERVER_URL=https://s.test \
-e SHLINK_SERVER_API_KEY=6aeb82c6-e275-4538-a747-31f9abfba63c \
shlinkio/shlink-web-client