Skip to content

Commit ab6903f

Browse files
committed
Add docker-compose.yml
1 parent 93b934d commit ab6903f

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

docker-compose.yml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
services:
2+
mongo:
3+
image: mongo:latest
4+
volumes:
5+
- ./data:/data/db
6+
ports:
7+
- '27017:27017'
8+
restart: on-failure
9+
10+
application:
11+
build: .
12+
volumes:
13+
- ./:/app
14+
ports:
15+
- '8080:8080'
16+
depends_on:
17+
- mongo
18+
restart: on-failure
19+
environment:
20+
- CONFIG_FILE=/app/config/config.yaml

0 commit comments

Comments
 (0)