forked from blueperf/acmeair-mainservice-java
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose-wf.yml
84 lines (76 loc) · 1.86 KB
/
docker-compose-wf.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
acmeair-booking-db:
container_name: acmeair-booking-db
image: mongo
net: ${NETWORK}
acmeair-customer-db:
container_name: acmeair-customer-db
image: mongo
net: ${NETWORK}
acmeair-flight-db:
container_name: acmeair-flight-db
image: mongo
net: ${NETWORK}
acmeair-nginx1:
container_name: acmeair-nginx1
net: ${NETWORK}
restart: always
build: ./nginx/
ports:
- "80:80"
volumes:
- /www/public
volumes_from:
- acmeair-mainservice-java
- acmeair-authservice-java
- acmeair-bookingservice-java
- acmeair-customerservice-java
- acmeair-flightservice-java
acmeair-mainservice-java:
container_name: acmeair-mainservice-java
dockerfile: Dockerfile-wf
net: ${NETWORK}
build: ../acmeair-mainservice-java/
environment:
- LICENSE=accept
mem_limit: 512m
acmeair-authservice-java:
container_name: acmeair-authservice-java
dockerfile: Dockerfile-wf
net: ${NETWORK}
build: ../acmeair-authservice-java/
environment:
- LICENSE=accept
mem_limit: 512m
acmeair-bookingservice-java:
container_name: acmeair-bookingservice-java
dockerfile: Dockerfile-wf
net: ${NETWORK}
build: ../acmeair-bookingservice-java/
environment:
- LICENSE=accept
- MONGO_HOST=acmeair-booking-db
volumes_from:
- acmeair-booking-db
mem_limit: 512m
acmeair-customerservice-java:
container_name: acmeair-customerservice-java
dockerfile: Dockerfile-wf
net: ${NETWORK}
build: ../acmeair-customerservice-java/
environment:
- LICENSE=accept
- MONGO_HOST=acmeair-customer-db
volumes_from:
- acmeair-customer-db
mem_limit: 512m
acmeair-flightservice-java:
container_name: acmeair-flightservice-java
dockerfile: Dockerfile-wf
net: ${NETWORK}
build: ../acmeair-flightservice-java/
environment:
- LICENSE=accept
- MONGO_HOST=acmeair-flight-db
volumes_from:
- acmeair-flight-db
mem_limit: 512m