-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
61 lines (55 loc) · 1.3 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
54
55
56
57
58
59
60
61
version: '3'
services:
mev-commit-bidder:
build: .
environment:
DOMAIN: testnet.mev-commit.xyz
PRIVATE_KEY_BIDDER: ${PRIVATE_KEY_BIDDER}
networks:
- app-network
ports:
- "13524:13524"
- "13523:13523"
prometheus:
image: prom/prometheus:latest
volumes:
- ./prometheus.yml:/etc/prometheus/prometheus.yml
- prometheus-data:/prometheus
command:
- '--config.file=/etc/prometheus/prometheus.yml'
networks:
- app-network
ports:
- "9090:9090"
grafana:
image: grafana/grafana:latest
networks:
- app-network
ports:
- "3000:3000"
volumes:
- grafana-data:/var/lib/grafana
datadog-agent:
image: datadog/agent:latest
container_name: datadog-agent
environment:
- DD_API_KEY=${DD_API_KEY}
- DD_TAGS=env:bidder-bot
- DD_SITE=datadoghq.com
- DD_LOGS_ENABLED=true
- DD_LOGS_CONFIG_CONTAINER_COLLECT_ALL=true
- DD_CONTAINER_EXCLUDE=image:datadog/agent:*
volumes:
- /var/run/docker.sock:/var/run/docker.sock:ro
- /proc/:/host/proc/:ro
- /sys/fs/cgroup/:/host/sys/fs/cgroup:ro
depends_on:
- mev-commit-bidder
networks:
- app-network
networks:
app-network:
external: true
volumes:
grafana-data:
prometheus-data: