1
0
mirror of https://github.com/Unleash/unleash.git synced 2024-12-22 19:07:54 +01:00

fix(docs): align code and highlight indentation.

This commit is contained in:
Thomas Heartman 2021-12-22 14:20:07 +01:00
parent 2b08b6f67b
commit 120345953a

View File

@ -117,12 +117,12 @@ Strategies are stored in separate JavaScript files and loaded into the container
``` shell ``` shell
docker run --name unleash-proxy --pull=always \ docker run --name unleash-proxy --pull=always \
-e UNLEASH_PROXY_SECRETS=some-secret \ -e UNLEASH_PROXY_SECRETS=some-secret \
-e UNLEASH_URL='http://unleash:4242/api/' \ -e UNLEASH_URL='http://unleash:4242/api/' \
-e UNLEASH_API_TOKEN=${API_TOKEN} \ -e UNLEASH_API_TOKEN=${API_TOKEN} \
# highlight-start # highlight-start
-e UNLEASH_CUSTOM_STRATEGIES_FILE=/strategies/timestamp.js \ -e UNLEASH_CUSTOM_STRATEGIES_FILE=/strategies/timestamp.js \
--mount type=bind,source="$(pwd)"/strategies,target=/strategies \ --mount type=bind,source="$(pwd)"/strategies,target=/strategies \
# highlight-end # highlight-end
-p 3000:3000 --network unleash unleashorg/unleash-proxy -p 3000:3000 --network unleash unleashorg/unleash-proxy
``` ```