Browse Source

2 legit 2 init commit

master
Charles Reid 8 years ago
commit
c133f6fd24
  1. 10
      README.md
  2. 15
      run_stock.sh

10
README.md

@ -0,0 +1,10 @@ @@ -0,0 +1,10 @@
# d-mongoexpress
This repo contains scripts for building and running the Mongo Express web app
for administering MongoDB database.
The `run_stock.sh` script is the only script. It runs a stock mongo-express container
from Docker's official images.
More info [here](https://hub.docker.com/_/mongo-express/).

15
run_stock.sh

@ -0,0 +1,15 @@ @@ -0,0 +1,15 @@
#!/bin/bash
docker run \
-it --rm \
-p 8081:8081 \
--link inspiring_boyd:mongo \
-e ME_CONFIG_OPTIONS_EDITORTHEME="ambiance" \
-e ME_CONFIG_MONGODB_ENABLE_ADMIN="true" \
-e ME_CONFIG_MONGODB_ADMINUSERNAME="mongo" \
-e ME_CONFIG_MONGODB_ADMINPASSWORD="l6o4nzOx3WwG5JA1" \
-e ME_CONFIG_BASICAUTH_USERNAME="wifi" \
-e ME_CONFIG_BASICAUTH_PASSWORD="wifi" \
-d \
mongo-express
Loading…
Cancel
Save