update
This commit is contained in:
parent
749ad08c64
commit
8724ccdfad
@ -135,6 +135,16 @@ db.auth("curl", "jV9cL0eW6mX4")
|
|||||||
db.auth("web", "xA5uU1eZ6fV1")
|
db.auth("web", "xA5uU1eZ6fV1")
|
||||||
db.auth("neko", "lO1wV2gT0eJ0")
|
db.auth("neko", "lO1wV2gT0eJ0")
|
||||||
|
|
||||||
|
// pve
|
||||||
|
db.createUser(
|
||||||
|
{
|
||||||
|
user: "teaweb",
|
||||||
|
pwd: "uJ5hB9mJ0gR2",
|
||||||
|
roles: [ { role: "dbOwner", db: "teaweb" }]
|
||||||
|
}
|
||||||
|
)
|
||||||
|
db.auth("admin", "dY1oU0wM6yW9")
|
||||||
|
db.auth("teaweb", "uJ5hB9mJ0gR2")
|
||||||
|
|
||||||
docker exec -it 8b4f1cbbf048 mongo admin
|
docker exec -it 8b4f1cbbf048 mongo admin
|
||||||
```
|
```
|
||||||
|
Loading…
x
Reference in New Issue
Block a user