You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
version: '3'
|
|
|
|
services:
|
|
db:
|
|
image: mongo:latest
|
|
volumes:
|
|
- dbdata:/data/db
|
|
ports:
|
|
- 27017:27017
|
|
environment:
|
|
MONGO_INITDB_ROOT_USERNAME: root
|
|
MONGO_INITDB_ROOT_PASSWORD: password
|
|
|
|
volumes:
|
|
dbdata:
|