-
Notifications
You must be signed in to change notification settings - Fork 1
/
docker-compose.yml
68 lines (64 loc) · 1.2 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
61
62
63
64
65
66
67
68
volumes:
next-clientmodules:
prod-clientmodules:
services:
redis:
image: redis:5-alpine
expose:
- "6379"
cron:
build:
context: .
dockerfile: k8s/docker/cron/Dockerfile
image: emwalker/digraph-cron:latest
env_file:
- .env.docker.local
extra_hosts:
- "database:172.17.0.1"
prod-api:
build:
context: .
dockerfile: k8s/docker/api/Dockerfile
image: emwalker/digraph-api:latest
expose:
- "8080"
env_file:
- .env.docker.local
extra_hosts:
- "database:172.17.0.1"
links:
- redis
depends_on:
- redis
prod-client:
image: emwalker/digraph-node:latest
build:
context: client
ports:
- "3000:3000"
env_file:
- .env.docker.local
depends_on:
- prod-api
- redis
links:
- prod-api
- redis
volumes:
- prod-clientmodules:/app/client_modules
next-client:
image: emwalker/digraph-node:next
build:
context: next
ports:
- "3002:3002"
env_file:
- .env.docker.local
depends_on:
- prod-api
- redis
links:
- prod-api
- redis
volumes:
- next-clientmodules:/app/client_modules