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.
13 lines
221 B
13 lines
221 B
5 years ago
|
version: '3'
|
||
|
|
||
|
services:
|
||
|
db:
|
||
|
image: mongo:latest
|
||
|
volumes:
|
||
|
- ./data:/data/db
|
||
|
ports:
|
||
|
- 27017:27017
|
||
|
environment:
|
||
|
MONGO_INITDB_ROOT_USERNAME: user
|
||
|
MONGO_INITDB_ROOT_PASSWORD: password
|