-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
50 lines (46 loc) · 1.21 KB
/
docker-compose.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
version: '3'
services:
api-gateway:
image: api-gateway
ports:
- 8086:8080
networks:
- entertainment-service
- covid19-service
- service-discovery
- observability
volumes:
- api-gateway-log:/log
environment:
# ENTERTAINMENT_SERVICE_ADDRESS: entertainment-service:8080,entertainment-service-2:8080
COVID19_SERVICE_ADDRESS: covid19-service:8080
TRACER_AGENT_ADDRESS: jaeger-tracing:5775
CONSUL_AGENT_ADDRESS: consul-server:8500
LOG_FILEPATH: /log/server.log
# depends_on:
# - consul-server
filebeat:
image: docker.elastic.co/beats/filebeat:7.7.0
volumes:
- ./deployment/elastic-stack/filebeat/filebeat.yml:/usr/share/filebeat/filebeat.yml
- api-gateway-log:/log
networks:
- observability
depends_on:
- api-gateway
volumes:
api-gateway-log:
driver: local
networks:
entertainment-service:
external:
name: entertainment-service_entertainment-service
covid19-service:
external:
name: covid19-service_covid19-service
service-discovery:
external:
name: service-discovery_service-discovery
observability:
external:
name: observability_observability