-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.dev.yml
More file actions
64 lines (61 loc) · 1.42 KB
/
Copy pathdocker-compose.dev.yml
File metadata and controls
64 lines (61 loc) · 1.42 KB
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
services:
coordinator:
build: .
hostname: pangea-coordinator
container_name: pangea-coordinator
environment:
- NODE_TYPE=coordinator
- NODE_NAME=coordinator@pangea-coordinator
- REGION=local
- ERLANG_COOKIE=pangea_cluster_secret_123
- SECRET_KEY_BASE=developement_secret_123
- ERL_EPMD_PORT=4369
- ERL_DIST_PORT=9100
- PHX_SERVER=true
ports:
- "4000:4000"
- "4369:4369"
- "9100:9100"
networks:
- pangea_net
worker-nyc:
build: .
hostname: pangea-worker-nyc
container_name: pangea-worker-nyc
environment:
- NODE_TYPE=worker
- NODE_NAME=worker-nyc@pangea-worker-nyc
- REGION=nyc
- ERLANG_COOKIE=pangea_cluster_secret_123
- ERL_EPMD_PORT=4369
- ERL_DIST_PORT=9101
ports:
- "9101:9101"
cap_add:
- NET_RAW
networks:
- pangea_net
depends_on:
- coordinator
worker-london:
build: .
hostname: pangea-worker-london
container_name: pangea-worker-london
environment:
- NODE_TYPE=worker
- NODE_NAME=worker-london@pangea-worker-london
- REGION=london
- ERLANG_COOKIE=pangea_cluster_secret_123
- ERL_EPMD_PORT=4369
- ERL_DIST_PORT=9102
ports:
- "9102:9102"
cap_add:
- NET_RAW
networks:
- pangea_net
depends_on:
- coordinator
networks:
pangea_net:
driver: bridge