-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.override.yml
121 lines (113 loc) · 2.42 KB
/
docker-compose.override.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
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
version: '3.4'
services:
postgres:
environment:
POSTGRES_USER: demo
POSTGRES_PASSWORD: password
networks:
- default
ports:
- '5432:5432'
restart: always
volumes:
- postgresql-data:/var/lib/postgresql/data
postgres-adminer:
networks:
- default
ports:
- '8080:8080'
restart: always
rabbitmq:
environment:
- RABBITMQ_DEFAULT_USER=user
- RABBITMQ_DEFAULT_PASS=password
networks:
- default
ports:
- '5672:5672'
- '15672:15672'
restart: always
jaeger:
environment:
- 'COLLECTOR_ZIPKIN_HOST_PORT=:9411'
networks:
- default
ports:
- '5775:5775/udp'
- '6831:6831/udp'
- '6832:6832/udp'
- '5778:5778'
- '16686:16686'
- '14250:14250'
- '14268:14268'
- '14269:14269'
- '9411:9411'
loki-minio:
entrypoint:
- sh
- -euc
- |
mkdir -p /data/loki-data && \
mkdir -p /data/loki-ruler && \
minio server /data
environment:
- MINIO_ACCESS_KEY=loki
- MINIO_SECRET_KEY=supersecret
- MINIO_PROMETHEUS_AUTH_TYPE=public
- MINIO_UPDATE=off
networks:
- default
ports:
- 9000
volumes:
- minio-data:/data
loki:
command: "-config.file=/etc/loki/config.yaml"
networks:
- default
ports:
- '3100:3100'
- '7946:7946'
- '9095:9095'
volumes:
- ./config/loki-config.yaml:/etc/loki/config.yaml
grafana:
environment:
- GF_PATHS_PROVISIONING=/etc/grafana/provisioning
- GF_AUTH_ANONYMOUS_ENABLED=true
- GF_AUTH_ANONYMOUS_ORG_ROLE=Admin
entrypoint:
- sh
- -euc
- |
mkdir -p /etc/grafana/provisioning/datasources
cat <<EOF > /etc/grafana/provisioning/datasources/ds.yaml
apiVersion: 1
datasources:
- name: Loki
type: loki
access: proxy
url: http://loki:3100
jsonData:
httpHeaderName1: "X-Scope-OrgID"
secureJsonData:
httpHeaderValue1: "tenant1"
EOF
/run.sh
networks:
- default
ports:
- "3000:3000"
networks:
default:
driver: bridge
enable_ipv6: true
ipam:
config:
- subnet: "fd87:1f03:269c:327c::/112"
- subnet: "10.50.124.0/24"
volumes:
minio-data:
driver: local
postgresql-data:
driver: local