Update docker-compose.yml

master
cheetah 5 years ago
parent 4cfdf003f4
commit ae80ff172e

@ -5,6 +5,9 @@ services:
image: "mongo:latest" image: "mongo:latest"
restart: unless-stopped restart: unless-stopped
hostname: mongodb hostname: mongodb
environment:
- MONGO_INITDB_ROOT_USERNAME=admin
- MONGO_INITDB_ROOT_PASSWORD=admin
ports: ports:
- "127.0.0.1:27017:27017" - "127.0.0.1:27017:27017"
volumes: volumes:

Loading…
Cancel
Save