-
Notifications
You must be signed in to change notification settings - Fork 2
/
docker-compose-sin-elk.yml
97 lines (86 loc) · 1.89 KB
/
docker-compose-sin-elk.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
version: '3.9'
networks:
mi-red:
services:
zipkin-server:
image: openzipkin/zipkin
restart: always
ports:
- 9411:9411
networks:
- mi-red
config-server:
build: ./servidor-configuracion/final
restart: always
environment:
- EUREKA_SERVER=eureka-server
- spring_profiles_active=nube
- LOGSTASH_SERVER=logstash
ports:
- 8888:8888
networks:
- mi-red
eureka-server:
build: ./servidor-eureka/final
restart: always
environment:
- CONFIG_SERVER=config-server
- LOGSTASH_SERVER=logstash
ports:
- 8761:8761
networks:
- mi-red
depends_on:
- config-server
zulu-server:
build: ./servidor-perimetral/final
restart: always
environment:
- CONFIG_SERVER=config-server
- EUREKA_SERVER=eureka-server
- LOGSTASH_SERVER=logstash
- ZIPKIN_SERVER=zipkin-server
ports:
- 8081:8081
networks:
mi-red:
depends_on:
- eureka-server
base-datos-estudiante:
image: oscarfonts/h2
restart: always
environment:
- H2_OPTIONS=-ifNotExists
ports:
- 8082:81
networks:
- mi-red
microservicio-estudiante:
build: ./microservicio-estudiante/final
restart: always
environment:
- CONFIG_SERVER=config-server
- HOST_BD=base-datos-estudiante
- EUREKA_SERVER=eureka-server
- LOGSTASH_SERVER=logstash
- PUERTO_DB=1521
- NOMBRE_DB=~./micro
- ZIPKIN_SERVER=zipkin-server
networks:
- mi-red
depends_on:
- base-datos-estudiante
client-web:
build: ./cliente-crud-estudiante/final
restart: always
environment:
- CONFIG_SERVER=config-server
- EUREKA_SERVER=eureka-server
- LOGSTASH_SERVER=logstash
ports:
- 8181:8181
networks:
- mi-red
depends_on:
- zulu-server
- microservicio-estudiante