-
Notifications
You must be signed in to change notification settings - Fork 1
/
docker-compose.yml
53 lines (49 loc) · 1.2 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
51
52
53
version: '3.6'
services:
grafana:
image: grafana/grafana:9.3.2
environment:
- GF_PATHS_PROVISIONING=/grafana
- GF_SECURITY_ADMIN_USER=${GF_USER}
- GF_SECURITY_ADMIN_PASSWORD=${GF_PASSWD}
ports:
- 3192:3000
volumes:
- type: bind
source: ./etc/grafana
target: /grafana
read_only: true
- type: volume
source: grafana-data
target: /var/lib/grafana
loki:
image: grafana/loki:2.7.1
command: -config.file=/etc/loki/local-config.yaml -print-config-stderr
volumes:
- type: bind
source: ./etc/loki-config.yml
target: /etc/loki/local-config.yaml
read_only: true
- type: volume
source: loki-data
target: /loki
read_only: false
bot:
build:
context: .
target: bot
environment:
- LOKI_ENDPOINT=http://loki:3100/
- RUST_LOG=info,paracord=trace,the_q=trace # TODO
volumes:
- type: bind
source: ./.env.local
target: /opt/the-q/.env.local
read_only: true
- type: bind
source: ./etc/samples
target: /opt/the-q/etc/samples
restart: unless-stopped
volumes:
grafana-data:
loki-data: