Commit 46f6d2f3 authored by Matija Obreza's avatar Matija Obreza

Updated README.md

parent f32a0fb7
......@@ -30,12 +30,12 @@ docker volume create mongo_data
docker run --rm --name mongo -d -v mongo_data:/data/db --network mongo_net mongo:4.1
# Run mongo shell
docker exec -it mongo mongo
docker exec -it mongo mongo -u root
# Make database and user
use amphibian
db.createUser({
"user" : "root",
"pwd": "example",
"user" : "amphibian",
"pwd": "test",
"roles" : [
{ "role" : "readWrite", "db" : "amphibian" }
]
......@@ -49,8 +49,8 @@ docker run --rm --name amphibian --network mongo_net \
-e 'mongo.hosts=mongo' \
-e 'mongo.port=27017' \
-e 'mongo.database=amphibian' \
-e 'mongo.username=root' \
-e 'mongo.password=example' \
-e 'mongo.username=amphibian' \
-e 'mongo.password=test' \
dockerhub.croptrust.org/genesys-pgr/amphibian:master
```
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment