Add a "type" to the mongo-express code block
This commit is contained in:
parent
f90fcf7809
commit
0ef549a31a
|
|
@ -52,13 +52,15 @@ The following are only needed if `ME_CONFIG_MONGODB_ENABLE_ADMIN` is **"false"**
|
||||||
|
|
||||||
## Example
|
## Example
|
||||||
|
|
||||||
docker run -it --rm \
|
```console
|
||||||
--name mongo-express \
|
$ docker run -it --rm \
|
||||||
--link web_db_1:mongo \
|
--name mongo-express \
|
||||||
-p 8081:8081 \
|
--link web_db_1:mongo \
|
||||||
-e ME_CONFIG_OPTIONS_EDITORTHEME="ambiance" \
|
-p 8081:8081 \
|
||||||
-e ME_CONFIG_BASICAUTH_USERNAME="user" \
|
-e ME_CONFIG_OPTIONS_EDITORTHEME="ambiance" \
|
||||||
-e ME_CONFIG_BASICAUTH_PASSWORD="fairly long password" \
|
-e ME_CONFIG_BASICAUTH_USERNAME="user" \
|
||||||
mongo-express
|
-e ME_CONFIG_BASICAUTH_PASSWORD="fairly long password" \
|
||||||
|
mongo-express
|
||||||
|
```
|
||||||
|
|
||||||
This example links to a container name typical of `docker-compose`, changes the editor's color theme, and enables basic authentication.
|
This example links to a container name typical of `docker-compose`, changes the editor's color theme, and enables basic authentication.
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue