Skip to content

Commit 3215304

Browse files
committed
Add docker-compose file for local deployment
1 parent d3da6d5 commit 3215304

File tree

2 files changed

+21
-0
lines changed

2 files changed

+21
-0
lines changed

.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -5,3 +5,4 @@ npm-debug.log
55
client/dist/
66
coverage
77
.vscode
8+
deploy/db

deploy/docker-compose.yml

+20
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
version: "3"
2+
services:
3+
db:
4+
image: rethinkdb
5+
volumes:
6+
- ./db:/data
7+
8+
api:
9+
build: ../server
10+
environment:
11+
- EXPERTS_DB_URL=db
12+
ports:
13+
- 8080:8080
14+
15+
ui:
16+
build: ../client
17+
environment:
18+
- API_HOST=http://localhost:8080
19+
ports:
20+
- 80:3000

0 commit comments

Comments
 (0)