From 0ef549a31af54c4ed6bc7990e53487a8e0c17cb7 Mon Sep 17 00:00:00 2001 From: Tianon Gravi Date: Thu, 5 May 2016 10:49:37 -0700 Subject: [PATCH] Add a "type" to the mongo-express code block --- mongo-express/content.md | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) diff --git a/mongo-express/content.md b/mongo-express/content.md index 97da9bec..be0b13a3 100644 --- a/mongo-express/content.md +++ b/mongo-express/content.md @@ -52,13 +52,15 @@ The following are only needed if `ME_CONFIG_MONGODB_ENABLE_ADMIN` is **"false"** ## Example - docker run -it --rm \ - --name mongo-express \ - --link web_db_1:mongo \ - -p 8081:8081 \ - -e ME_CONFIG_OPTIONS_EDITORTHEME="ambiance" \ - -e ME_CONFIG_BASICAUTH_USERNAME="user" \ - -e ME_CONFIG_BASICAUTH_PASSWORD="fairly long password" \ - mongo-express +```console +$ docker run -it --rm \ + --name mongo-express \ + --link web_db_1:mongo \ + -p 8081:8081 \ + -e ME_CONFIG_OPTIONS_EDITORTHEME="ambiance" \ + -e ME_CONFIG_BASICAUTH_USERNAME="user" \ + -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.