Addons Docs

mongo-express

Web-based MongoDB admin interface. For more information, see https://github.com/mongo-express/mongo-express

Recommended ENV variables should be set:

  • MECONFIGMONGODBAUTHDATABASE: Your mongodb database
  • MECONFIGMONGODB_ADMINUSERNAME: Mongodb admin username
  • MECONFIGMONGODB_ADMINPASSWORD: Mongodb admin password
  • MECONFIGMONGODB_SERVER: Server hostname (example: mongodb)
  • MECONFIGMONGODBENABLEADMIN: Recommended to true
  • MECONFIGSITE_BASEURL: Set to the same value as HTTP endpoint (Example: /mongodb/). Make sure to set the HTTP endpoint to the same value.
  • MECONFIGBASICAUTH_USERNAME: Set an HTTP basic username
  • MECONFIGBASICAUTH_PASSWORD: Set an HTTP basic username

Default configs:

See the repository for the configurations definition.

{

  "name": "mongo-express",

  "category": "database-viewer",

  "minimum_memory_mb": 50,

  "documentation_filename": "README.md",

  "image": "mongo-express",

  "requires_persistence": false,

  "required_fields": [],

  "ports": [

    {

      "target_port": 8081,

      "protocol": "TCP"

    }

  ],

  "env_variables": {

    "ME_CONFIG_MONGODB_AUTH_DATABASE": "mydb",

    "ME_CONFIG_MONGODB_ADMINUSERNAME": "root",

    "ME_CONFIG_MONGODB_ADMINPASSWORD": "123456",

    "ME_CONFIG_MONGODB_AUTH_USERNAME": "root",

    "ME_CONFIG_MONGODB_AUTH_PASSWORD": "123456",

    "ME_CONFIG_MONGODB_SERVER": "mongodb",

    "ME_CONFIG_MONGODB_ENABLE_ADMIN": "true",

    "ME_CONFIG_SITE_BASEURL": "/mongodb/",

    "ME_CONFIG_BASICAUTH_USERNAME": "myusername",

    "ME_CONFIG_BASICAUTH_PASSWORD": "123456"

  },

  "required_env_variables": [

    "ME_CONFIG_MONGODB_SERVER",

    "ME_CONFIG_MONGODB_ENABLE_ADMIN",

    "ME_CONFIG_SITE_BASEURL"

  ]

}