forked from mailgun/gubernator
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yaml
71 lines (68 loc) · 2.33 KB
/
docker-compose.yaml
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
69
70
71
version: '3'
services:
gubernator-1:
image: ghcr.io/mailgun/gubernator:latest
command: "/gubernator"
environment:
# The address GRPC requests will listen on
- GUBER_GRPC_ADDRESS=0.0.0.0:81
# The address HTTP requests will listen on
- GUBER_HTTP_ADDRESS=0.0.0.0:80
# The address that is advertised to other peers
- GUBER_ADVERTISE_ADDRESS=gubernator-1:81
# A comma separated list of known gubernator nodes
- GUBER_MEMBERLIST_KNOWN_NODES=gubernator-1
#- GUBER_DATA_CENTER=us-east-1
ports:
- "9081:81"
- "9080:80"
gubernator-2:
image: ghcr.io/mailgun/gubernator:latest
command: "/gubernator"
environment:
# The address GRPC requests will listen on
- GUBER_GRPC_ADDRESS=0.0.0.0:81
# The address HTTP requests will listen on
- GUBER_HTTP_ADDRESS=0.0.0.0:80
# The address that is advertised to other peers
- GUBER_ADVERTISE_ADDRESS=gubernator-2:81
# A comma separated list of known gubernator nodes
- GUBER_MEMBERLIST_KNOWN_NODES=gubernator-1
#- GUBER_DATA_CENTER=us-east-1
ports:
- "9181:81"
- "9180:80"
gubernator-3:
image: ghcr.io/mailgun/gubernator:latest
command: "/gubernator"
environment:
# The address GRPC requests will listen on
- GUBER_GRPC_ADDRESS=0.0.0.0:81
# The address HTTP requests will listen on
- GUBER_HTTP_ADDRESS=0.0.0.0:80
# The address that is advertised to other peers
- GUBER_ADVERTISE_ADDRESS=gubernator-3:81
# A comma separated list of known gubernator nodes
- GUBER_MEMBERLIST_KNOWN_NODES=gubernator-1
#- GUBER_DATA_CENTER=us-west-2
ports:
- "9281:81"
- "9280:80"
gubernator-4:
image: ghcr.io/mailgun/gubernator:latest
command: "/gubernator"
environment:
- GUBER_DEBUG=true
# The address GRPC requests will listen on
- GUBER_GRPC_ADDRESS=0.0.0.0:81
# The address HTTP requests will listen on
- GUBER_HTTP_ADDRESS=0.0.0.0:80
# The address that is advertised to other peers
- GUBER_ADVERTISE_ADDRESS=gubernator-4:81
# A Comma separated list of known gubernator nodes
- GUBER_MEMBERLIST_KNOWN_NODES=gubernator-1,gubernator-2
#- GUBER_DATA_CENTER=us-west-2
#- GUBER_METRIC_FLAGS=golang,os
ports:
- "9381:81"
- "9380:80"