-
Notifications
You must be signed in to change notification settings - Fork 13
/
docker-compose-subdomain-testing.yml
116 lines (107 loc) · 2.54 KB
/
docker-compose-subdomain-testing.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
109
110
111
112
113
114
115
116
version: '2.1'
services:
discovery-service:
image: bitnami/consul:1.4.3
ports:
- '8300:8300'
- '8301:8301'
- '8301:8301/udp'
- '8500:8500'
- '8600:8600'
- '8600:8600/udp'
depends_on:
- redis
account-gateway:
build: docker/express-gateway/
ports:
- "8080:8080"
- "8443:8443"
- "9876:9876"
volumes:
- ./docker/express-gateway/account-configuration/system.config.yml:/usr/src/app/config/system.config.yml
- ./docker/express-gateway/account-configuration/gateway.config.yml:/usr/src/app/config/gateway.config.yml
depends_on:
- redis
people-gateway-mock:
build: docker/wiremock/images/people
ports:
- "8081:8081"
volumes:
- ./docker/wiremock/people:/home/wiremock
restart: on-failure
account-cmd:
build: domain-services/account-cmd/
mem_limit: 400m
ports:
- "8082:8082"
restart: on-failure
environment:
- PEOPLE_GATEWAY=people-gateway-mock
- CONSUL_HOST=discovery-service
- MONGO_HOST=mongo
- AXON_HOST=axonserver
- HOST_PORT=8082
depends_on:
- discovery-service
- axonserver
account-query:
build: domain-services/account-query/
mem_limit: 400m
ports:
- "8084:8084"
restart: on-failure
environment:
- CONSUL_HOST=discovery-service
- MONGO_HOST=mongo
- AXON_HOST=axonserver
- HOST_PORT=8084
- ES_JAVA_OPTS= "-Xms450mb -Xmx450mb"
depends_on:
- discovery-service
- axonserver
- mongo
account-transaction:
build: domain-services/account-transactions/
mem_limit: 400m
ports:
- "8086:8086"
environment:
- PEOPLE_GATEWAY=people-gateway-mock
- CONSUL_HOST=discovery-service
- MONGO_HOST=mongo
- AXON_HOST=axonserver
- HOST_PORT=8086
- ES_JAVA_OPTS= "-Xms150mb -Xmx150mb"
restart: on-failure
depends_on:
- discovery-service
- axonserver
- mongo
mongo:
image: mongo:3.4.1
ports:
- '27017:27017'
volumes:
- 'mongo:/data/mongo/db'
redis:
image: redis:5.0.4
ports:
- "6379:6379"
volumes:
- 'redis:/data/redis'
axonserver:
image: axoniq/axonserver:4.1
ports:
- '8124:8124'
- '8024:8024'
environment:
- AXONSERVER_EVENTSTORE=/eventstore
- AXONSERVER_CONTROLDB=/controldb
volumes:
- ./axonserver-eventstore:/eventstore
- ./axonserver-controldb:/controldb
volumes:
axonserver-eventstore:
axonserver-controldb:
redis:
mongo: