Update docker-compose.yml

This commit is contained in:
Lee 2024-04-23 03:49:18 +00:00
parent 6131ace3f8
commit 89db4a1310

@ -9,4 +9,14 @@ services:
image: fascinated/paste-backend:latest
restart: always
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