A (simple) RockMongo mongocontainer running PHP5-FPM and nginx
999
docker run -d -p 80:8080 -e "MONGO_SERVER=localhost" ykocaman/rockmongo
By default there's no auth to RockMongo, see below to change this.
| Name | Default | Description |
|---|---|---|
MONGO_SERVER | localhost | MongoDB server hostname or IP address. This will show up in rockmongo drop down selector when you login. |
MONGO_PORT | 27017 | |
MONGO_DATABASE | Default database to connect to | |
MONGO_AUTH | false | If your MongoDB server requires auth, set this to true. |
MONGO_USERNAME | Username if you set MONGO_AUTH=true | |
MONGO_PASSWORD | Password if you set MONGO_AUTH=true | |
ROCKMONGO_AUTH | false | If you want to enable login to RockMongo set this to true. |
ROCKMONGO_USER | admin | Username if you set ROCKMONGO_AUTH=true |
ROCKMONGO_PASSWORD | admin | Password if you set ROCKMONGO_AUTH=true |
NGINX_HOSTNAME | rockmongo.docker.local | A hostname you can bind to your docker host's IP to access rockmongo's nginx site by name. |
ROCKMONGO_BASE_URI | Base URI for links, running behind reverse proxy. eg: /rockmongo |
Content type
Image
Digest
Size
75.6 MB
Last updated
over 7 years ago
docker pull ykocaman/rockmongo