Commit b0a3444a by ansible

new nginx conf

1 parent 7125aad2
Showing with 5 additions and 0 deletions
No preview for this file type
/opt/stack/mongodb/mongodb/bin/mongo --host 127.0.0.1 --port 7018 <<EOF /opt/stack/mongodb/mongodb/bin/mongo --host 127.0.0.1 --port 7018 <<EOF
## authen to create new user ## authen to create new user
use admin use admin
db.auth("root", "password") db.auth("root", "password")
## create administration user ## create administration user
db.createUser( db.createUser(
{ {
user: "wdobject", user: "wdobject",
...@@ -12,7 +15,9 @@ db.createUser( ...@@ -12,7 +15,9 @@ db.createUser(
) )
### create application user ### create application user
use DMAMANAGER use DMAMANAGER
db.createUser( db.createUser(
{ {
user: "mongoapp", user: "mongoapp",
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!