Skip to content

Commit

Permalink
fix(docs): align code and highlight indentation.
Browse files Browse the repository at this point in the history
  • Loading branch information
thomasheartman committed Dec 22, 2021
1 parent 2b08b6f commit 1203459
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions website/docs/how-to/how-to-use-custom-strategies.md
Expand Up @@ -117,12 +117,12 @@ Strategies are stored in separate JavaScript files and loaded into the container

``` shell
docker run --name unleash-proxy --pull=always \
-e UNLEASH_PROXY_SECRETS=some-secret \
-e UNLEASH_URL='http://unleash:4242/api/' \
-e UNLEASH_API_TOKEN=${API_TOKEN} \
# highlight-start
-e UNLEASH_CUSTOM_STRATEGIES_FILE=/strategies/timestamp.js \
--mount type=bind,source="$(pwd)"/strategies,target=/strategies \
# highlight-end
-p 3000:3000 --network unleash unleashorg/unleash-proxy
-e UNLEASH_PROXY_SECRETS=some-secret \
-e UNLEASH_URL='http://unleash:4242/api/' \
-e UNLEASH_API_TOKEN=${API_TOKEN} \
# highlight-start
-e UNLEASH_CUSTOM_STRATEGIES_FILE=/strategies/timestamp.js \
--mount type=bind,source="$(pwd)"/strategies,target=/strategies \
# highlight-end
-p 3000:3000 --network unleash unleashorg/unleash-proxy
```

0 comments on commit 1203459

Please sign in to comment.