-
Notifications
You must be signed in to change notification settings - Fork 14
/
docker-compose-unnamed.yml
108 lines (104 loc) · 2.75 KB
/
docker-compose-unnamed.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
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
version: '3.3'
services:
axonserver-1:
image: axoniq/axonserver-enterprise:latest
hostname: axonserver-1
volumes:
- type: bind
source: ./data1
target: /axonserver/data
- type: bind
source: ./events1
target: /axonserver/events
- type: bind
source: ./log1
target: /axonserver/log
- type: bind
source: ./plugins1
target: /axonserver/plugins
secrets:
- source: axoniq-license
target: /axonserver/config/axoniq.license
- source: axonserver-properties
target: /axonserver/config/axonserver.properties
- source: axonserver-token
target: /axonserver/config/axonserver.token
environment:
- AXONIQ_LICENSE=/axonserver/config/axoniq.license
ports:
- '8024:8024'
- '8124:8124'
- '8224:8224'
networks:
- axon-demo
axonserver-2:
image: axoniq/axonserver-enterprise:latest
hostname: axonserver-2
volumes:
- type: bind
source: ./data2
target: /axonserver/data
- type: bind
source: ./events2
target: /axonserver/events
- type: bind
source: ./log2
target: /axonserver/log
- type: bind
source: ./plugins2
target: /axonserver/plugins
secrets:
- source: axoniq-license
target: /axonserver/config/axoniq.license
- source: axonserver-properties
target: /axonserver/config/axonserver.properties
- source: axonserver-token
target: /axonserver/config/axonserver.token
environment:
- AXONIQ_LICENSE=/axonserver/config/axoniq.license
ports:
- '8025:8024'
- '8125:8124'
- '8225:8224'
networks:
- axon-demo
axonserver-3:
image: axoniq/axonserver-enterprise:latest
hostname: axonserver-3
volumes:
- type: bind
source: ./data3
target: /axonserver/data
- type: bind
source: ./events3
target: /axonserver/events
- type: bind
source: ./log3
target: /axonserver/log
- type: bind
source: ./plugins3
target: /axonserver/plugins
secrets:
- source: axoniq-license
target: /axonserver/config/axoniq.license
- source: axonserver-properties
target: /axonserver/config/axonserver.properties
- source: axonserver-token
target: /axonserver/config/axonserver.token
environment:
- AXONIQ_LICENSE=/axonserver/config/axoniq.license
ports:
- '8026:8024'
- '8126:8124'
- '8226:8224'
networks:
- axon-demo
networks:
axon-demo:
secrets:
axonserver-properties:
file: ./axonserver.properties
axoniq-license:
file: ../../axoniq.license
axonserver-token:
file: ./axonserver.token