Update docker-compose.yml
This commit is contained in:
parent
6131ace3f8
commit
89db4a1310
@ -9,4 +9,14 @@ services:
|
|||||||
image: fascinated/paste-backend:latest
|
image: fascinated/paste-backend:latest
|
||||||
restart: always
|
restart: always
|
||||||
ports:
|
ports:
|
||||||
- 3005:3000
|
- 3005:3000
|
||||||
|
mongo:
|
||||||
|
image: mongo:latest
|
||||||
|
restart: always
|
||||||
|
environment:
|
||||||
|
MONGO_INITDB_ROOT_USERNAME: root
|
||||||
|
MONGO_INITDB_ROOT_PASSWORD: root
|
||||||
|
ports:
|
||||||
|
- 27017:27017
|
||||||
|
volumes:
|
||||||
|
- ./data:/data/db
|
Reference in New Issue
Block a user