Skip to content

Commit d9a0d30

Browse files
committed
Create docker-compose.yml
1 parent 89cebbb commit d9a0d30

File tree

1 file changed

+23
-0
lines changed

1 file changed

+23
-0
lines changed

docker-compose.yml

+23
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
version: '3'
2+
services:
3+
app:
4+
build: .
5+
ports:
6+
- '3000:3000'
7+
environment:
8+
- NODE_ENV=production
9+
- MONGODB_URI= # put your MONGODB URI here
10+
# if you are using mongodb container, uncomment below
11+
# depends_on:
12+
# - mongo
13+
14+
#Uncomment Below if you want to use mongodb container
15+
# mongo:
16+
# image: mongo:latest
17+
# ports:
18+
# - '27017:27017'
19+
# volumes:
20+
# - mongo-data:/data/db
21+
22+
volumes:
23+
mongo-data:

0 commit comments

Comments
 (0)