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:
parent
2b08b6f67b
commit
120345953a
@ -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
|
||||
```
|
||||
|
Loading…
Reference in New Issue
Block a user