-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yaml
109 lines (103 loc) · 2.45 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
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
version: '3.0'
services:
postgres:
image: postgres
container_name: postgres
environment:
POSTGRES_PASSWORD: docker
POSTGRES_USER: postgres
POSTGRES_DB: encoder
ports:
- 5434:5432
rabbitmq:
image: "rabbitmq:3-management"
container_name: rabbitmq
environment:
RABBITMQ_ERLANG_COOKIE: "SWQOKODSQALRPCLNMEQG"
RABBITMQ_DEFAULT_USER: "rabbitmq"
RABBITMQ_DEFAULT_PASS: "rabbitmq"
RABBITMQ_DEFAULT_VHOST: "/"
ports:
- "15672:15672"
- "5672:5672"
# video_encode:
# build:
# context: ./video_encode
# container_name: video_encode
# volumes:
# - ./video_encode:/app
# depends_on:
# - postgres
# - rabbitmq
# networks:
# - application
# - observability
video_admin:
build:
context: ./video_admin
container_name: video_admin
volumes:
- ./video_admin:/app
ports:
- 3333:3333
depends_on:
- postgres
- rabbitmq
# video_catalog:
# build:
# context: ./video_catalog
# container_name: video_catalog
# volumes:
# - ./video_catalog:/app
# ports:
# - 3334:3333
# depends_on:
# - postgres
# - rabbitmq
# networks:
# - application
# - observability
collector:
image: otel/opentelemetry-collector-contrib:0.53.0
# image: otel/opentelemetry-collector-contrib:latest
command: [ "--config=/conf/collector-config.yaml" ]
volumes:
- ./collector-config.yaml:/conf/collector-config.yaml
ports:
- "9464:9464"
- "4317:4317"
- "4318:4318"
depends_on:
- zipkin-all-in-one
# Zipkin
zipkin-all-in-one:
image: openzipkin/zipkin:latest
ports:
- "9411:9411"
loki:
image: grafana/loki:2.3.0
volumes:
- ./loki/loki-config.yml:/etc/loki/loki-config.yml
ports:
- "3100:3100"
command: -config.file=/etc/loki/loki-config.yml
postgres-exporter:
image: prometheuscommunity/postgres-exporter
ports:
- 9187:9187
environment:
DATA_SOURCE_NAME: "postgresql://postgres:docker@postgres:5432/postgres?sslmode=disable"
grafana:
image: grafana/grafana:latest
ports:
- "3000:3000"
# volumes:
# - ./grafana-config:/var/lib/grafana
prometheus:
container_name: prometheus
image: prom/prometheus:latest
volumes:
- ./prometheus.yaml:/etc/prometheus/prometheus.yml
ports:
- "9090:9090"
# - 9464:9464