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
## authen to create new user
use admin
db.auth("root", "password")
## create administration user
db.createUser(
{
user: "wdobject",
......@@ -12,7 +15,9 @@ db.createUser(
)
### create application user
use DMAMANAGER
db.createUser(
{
user: "mongoapp",
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!