Update docker-compose.yml
This commit is contained in:
parent
4cfdf003f4
commit
ae80ff172e
1 changed files with 3 additions and 0 deletions
|
@ -5,6 +5,9 @@ services:
|
|||
image: "mongo:latest"
|
||||
restart: unless-stopped
|
||||
hostname: mongodb
|
||||
environment:
|
||||
- MONGO_INITDB_ROOT_USERNAME=admin
|
||||
- MONGO_INITDB_ROOT_PASSWORD=admin
|
||||
ports:
|
||||
- "127.0.0.1:27017:27017"
|
||||
volumes:
|
||||
|
|
Loading…
Add table
Reference in a new issue