-
Notifications
You must be signed in to change notification settings - Fork 5
/
compose.yaml
55 lines (55 loc) · 1.36 KB
/
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
services:
db:
image: postgres:13.4
environment:
POSTGRES_HOST_AUTH_METHOD: trust
ports:
- 5432:5432
restart: always
grafana:
image: grafana/grafana:8.1.2
ports:
- 5000:3000
volumes:
- ./grafana-datasources.yaml:/etc/grafana/provisioning/datasources/datasources.yaml
environment:
- GF_AUTH_ANONYMOUS_ENABLED=true
- GF_AUTH_ANONYMOUS_ORG_ROLE=Admin
- GF_AUTH_DISABLE_LOGIN_FORM=true
depends_on:
- tempo
loki:
image: grafana/loki:2.3.0
ports:
- 3100:3100
command: -config.file=/etc/loki/local-config.yaml
tempo:
image: grafana/tempo:1.1.0
command: ["-config.file=/etc/tempo.yaml"]
volumes:
- ./tempo.yaml:/etc/tempo.yaml
ports:
- 8000:8000 # tempo
- 55681:55681 # otlp http
cms:
build: ./cms
environment:
DATABASE_URL: "postgres://postgres:postgres@db/cms"
SECRET_KEY_BASE: "1CsoH8ZrNxJl+uKVbCED8FX1Z/P01iJ8zfrmNFNnGdfPcEAFqt111sgnMTeZnwZo"
TIME_TRACKING_URL: "http://time_tracker:3000"
ports:
- 4000:4000
depends_on:
- db
- time_tracker
logging:
driver: loki
options:
loki-url: http://localhost:3100/loki/api/v1/push
time_tracker:
build: ./time_tracker
environment:
OTEL_COLLECTOR_HOST: "tempo"
OTEL_COLLECTOR_PORT: "55681"
ports:
- 3000:3000