-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yaml
51 lines (44 loc) · 1.69 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
version: "3.0"
services:
daytrader-frontend-service:
build: ./daytrader-frontend-service
image: daytrader-frontend-service
container_name: daytrader-frontend-service
networks:
- daytrader
ports:
- "9080:9080"
environment:
- JVM_ARGS=-DaccountClient/mp-rest/url=http://daytrader-account-service:9080/accounts -DholdingClient/mp-rest/url=http://daytrader-holding-service:9080/holdings -DorderClient/mp-rest/url=http://daytrader-order-service:9080/orders -DquoteClient/mp-rest/url=http://daytrader-quote-service:9080/quotes
- MAX_QUOTES=100
- MAX_USERS=100
daytrader-account-service:
build: ./daytrader-account-service
image: daytrader-account-service
container_name: daytrader-account-service
networks:
- daytrader
daytrader-holding-service:
build: ./daytrader-holding-service
image: daytrader-holding-service
container_name: daytrader-holding-service
networks:
- daytrader
daytrader-order-service:
build: ./daytrader-order-service
image: daytrader-order-service
container_name: daytrader-order-service
networks:
- daytrader
environment:
- COMPLETE_ORDERS_ASYNC=true
- JVM_ARGS=-DaccountClient/mp-rest/url=http://daytrader-account-service:9080/accounts -DholdingClient/mp-rest/url=http://daytrader-holding-service:9080/holdings -DorderClient/mp-rest/url=http://daytrader-order-service:9080/orders -DquoteClient/mp-rest/url=http://daytrader-quote-service:9080/quotes
daytrader-quote-service:
build: ./daytrader-quote-service
image: daytrader-quote-service
container_name: daytrader-quote-service
networks:
- daytrader
networks:
daytrader:
external: true