-
Notifications
You must be signed in to change notification settings - Fork 15
/
docker-compose.yml
60 lines (60 loc) · 1.4 KB
/
docker-compose.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
version: "2"
services:
redis:
image: redis
ports:
- "${DOCKER_COMPOSE_REDIS_PORT}:6379"
mongo:
image: mongo
ports:
- "${DOCKER_COMPOSE_MONGODB_PORT}:27017"
server:
command: reflex -c reflex.conf
image: codeflow:v004
build:
context: .
args:
- NODE_ENV=development
environment:
- WORKDIR=./server
volumes:
- ./server:/go/src/github.com/checkr/codeflow/server
- /var/run/docker.sock:/var/run/docker.sock
ports:
- "${REACT_APP_API_ROOT_PORT}:3001"
- "${REACT_APP_WEBHOOKS_ROOT_PORT}:3002"
- "${REACT_APP_WS_ROOT_PORT}:3003"
links:
- "redis"
- "mongo"
dashboard:
command: npm run start
image: codeflow:v004
build:
context: .
args:
- NODE_ENV=development
environment:
- WORKDIR=./dashboard
volumes:
- ./dashboard:/go/src/github.com/checkr/codeflow/dashboard
ports:
- "${REACT_APP_ROOT_PORT}:3000"
env_file:
- .env
- ./dashboard/.env
- ./dashboard/.env.development
docs:
command: gitbook serve
image: codeflow:v004
build:
context: .
args:
- NODE_ENV=development
environment:
- WORKDIR=./docs
volumes:
- ./docs:/go/src/github.com/checkr/codeflow/docs
ports:
- "${DOCKER_COMPOSE_GITBOOK_PORT}:4000"
- "${DOCKER_COMPOSE_GITBOOK_LIVERELOAD_PORT}:35729"