-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
45 lines (45 loc) · 1.28 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
version: '3'
x-logging: &default-logging
logging:
driver: 'json-file'
options:
max-size: '10m'
max-file: '3'
services:
hived-exporter:
image: hived-exporter
build: .
container_name: hived-exporter
ports:
- 8088:8088
environment:
- HIVED_EXPORTER_PORT=8088
- HIVED_EXPORTER_LOG_LEVEL=${HIVED_EXPORTER_LOG_LEVEL:-info}
<<: *default-logging
hived-exporter-api:
image: hived-exporter
build: .
container_name: hived-exporter-api-scraper
ports:
- 8087:8087
environment:
- HIVED_EXPORTER_PORT=8087
- HIVED_EXPORTER_LOG_LEVEL=${HIVED_EXPORTER_LOG_LEVEL:-info}
- HIVED_EXPORTER_API_NODE=${HIVED_EXPORTER_API_NODE_URL}
- HIVED_EXPORTER_API_SCRAPE_ONLY=true
- HIVED_EXPORTER_ACCOUNT=${HIVED_EXPORTER_ACCOUNTS}
<<: *default-logging
victoria-metrics:
image: victoriametrics/victoria-metrics
container_name: victoria-metrics
ports:
- ${VICTORIA_PORT:-8428}:8428
volumes:
- ./configs:/config
- ./data/db:/data
command:
- '-promscrape.config=/config/${VICTORIA_CONFIG_FILE:-victoria-docker.yml}'
- '-storageDataPath=/data'
- '-search.latencyOffset=0'
- '-retentionPeriod=${VICTORIA_RETENTION_PERIOD:-90d}'
<<: *default-logging