-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose-backend.yaml
143 lines (130 loc) · 2.61 KB
/
docker-compose-backend.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
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
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
version: "3.8"
networks:
backend:
services:
config-server:
image: gza73/agh-praca-inzynierska-config-server:latest
environment:
- "SPRING_PROFILES_ACTIVE=docker,native"
volumes:
- ./properties:/home/healthy-gym-config
ports:
- "8030:8030"
networks:
- backend
deploy:
replicas: 1
discovery:
image: gza73/agh-praca-inzynierska-discovery:latest
environment:
- "SPRING_PROFILES_ACTIVE=docker"
ports:
- "8010:8010"
networks:
- backend
depends_on:
- config-server
deploy:
replicas: 1
gateway:
image: gza73/agh-praca-inzynierska-gateway:latest
environment:
- "SPRING_PROFILES_ACTIVE=docker"
ports:
- "8020:8020"
networks:
- backend
depends_on:
- discovery
deploy:
replicas: 1
mongodb:
image: gza73/agh-praca-inzynierska-mongodb:latest
ports:
- "27017:27017"
networks:
- backend
deploy:
replicas: 1
auth:
image: gza73/agh-praca-inzynierska-auth:latest
environment:
- "SPRING_PROFILES_ACTIVE=docker,production"
networks:
- backend
depends_on:
- mongodb
- gateway
deploy:
replicas: 1
account:
image: gza73/agh-praca-inzynierska-account:latest
environment:
- "SPRING_PROFILES_ACTIVE=docker"
networks:
- backend
depends_on:
- mongodb
- gateway
deploy:
replicas: 1
trainings:
image: gza73/agh-praca-inzynierska-trainings:latest
environment:
- "SPRING_PROFILES_ACTIVE=docker"
networks:
- backend
depends_on:
- mongodb
- gateway
deploy:
replicas: 1
gympass:
image: gza73/agh-praca-inzynierska-gympass:latest
environment:
- "SPRING_PROFILES_ACTIVE=docker"
networks:
- backend
depends_on:
- mongodb
- gateway
deploy:
replicas: 1
task:
image: gza73/agh-praca-inzynierska-task:latest
environment:
- "SPRING_PROFILES_ACTIVE=docker"
networks:
- backend
depends_on:
- mongodb
- gateway
deploy:
replicas: 1
redis:
image: gza73/agh-praca-inzynierska-redis:latest
ports:
- "6379:6379"
networks:
- backend
deploy:
replicas: 1
rabbitmq:
image: gza73/agh-praca-inzynierska-rabbitmq:latest
ports:
- "5672:5672"
- "15672:15672"
deploy:
replicas: 1
networks:
- backend
zipkin:
image: openzipkin/zipkin:latest
ports:
- target: 9411
published: 9411
mode: host
deploy:
replicas: 1
networks:
- backend