-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathdocker-compose.yaml
51 lines (51 loc) · 1.43 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
version: "3.8"
services:
agent:
build: ./agent
volumes:
- ./ceramic:/logs/ceramic
alertmanager:
build: ./alertmanager
ports:
- "9093:9093"
command: ["--config.file=/etc/alertmanager/local-config.yaml", "--cluster.listen-address=", "--log.level=debug"]
alertmanager-discord:
build: ./alertmanager-discord
ports:
- "9096:9096"
environment:
- LISTEN_ADDRESS=0.0.0.0:9096
- DISCORD_WEBHOOK_URL=${DISCORD_WEBHOOK_URL}
- ENV=dev
loki:
build: ./loki
ports:
- "3100:3100"
environment:
- ALERTMANAGER_URL=http://alertmanager:9093
- DYNAMODB_PREFIX=loki_
command: ["-config.file=/etc/loki/local-config.yaml", "-config.expand-env=true"]
promtail:
build: ./promtail
ports:
- "9080:9080"
volumes:
- ./cas:/logs/cas
- ./ceramic:/logs/ceramic
command: ["-config.file=/etc/promtail/local-config.yml", "-client.url", "http://loki:3100/loki/api/v1/push", "-log.level=debug"]
depends_on:
- loki
grafana:
build: ./grafana
ports:
- "3000:3000"
environment:
- DASHBOARDS_PATH=/etc/grafana/provisioning/dashboards/${DASHBOARD}
- DISCORD_WEBHOOK_URL=${DISCORD_WEBHOOK_URL}
- LOKI_URL=http://loki:3100
- AWS_AUTH_TYPE=keys
- AWS_ACCESS_KEY=${AWS_ACCESS_KEY}
- AWS_SECRET_KEY=${AWS_SECRET_KEY}
- CLOUDWATCH_METRICS_NAMESPACES=pubsub-dev
depends_on:
- promtail