-
Notifications
You must be signed in to change notification settings - Fork 32
Expand file tree
/
Copy pathdocker-compose.yaml
More file actions
37 lines (35 loc) · 828 Bytes
/
docker-compose.yaml
File metadata and controls
37 lines (35 loc) · 828 Bytes
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
services:
source:
container_name: offchain_source
build: ./adapter/api/source
ports:
- "8000:8000"
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost:8000"]
interval: 10s
timeout: 5s
retries: 5
node:
container_name: offchain_node
build: .
ports:
- "2112:2112"
volumes:
- ./data:/data
depends_on:
source:
condition: service_healthy
env_file:
- ./data/env_file
vmagent:
container_name: vm_agent
image: victoriametrics/vmagent:latest
ports:
- "8429:8429"
volumes:
- ./data:/data
command:
- '-promscrape.config=/data/config/prometheus.yml'
- '-remoteWrite.url=https://insert-telemetry.behindthecurtain.xyz/insert/0/prometheus/api/v1/write'
depends_on:
- node