-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathdocker-compose.yml.example
64 lines (63 loc) · 2.1 KB
/
docker-compose.yml.example
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
62
63
64
version: "3.9"
services:
main-harvester:
image: ghcr.io/zkbob/bob-stat-harvester:${RELAYER_IMAGE:-latest}
container_name: main-harvester
environment:
- MEASUREMENTS_INTERVAL=7170
- SNAPSHOT_DIR=snapshots
- TSDB_DIR=tsdb
- FEEDING_SERVICE_URL=https://where.bob-circulating-supply.deployed
- FEEDING_SERVICE_PATH=/bobstat/upload
- FEEDING_SERVICE_HEALTH_PATH=/health
- FEEDING_SERVICE_UPLOAD_TOKEN=@uth70ken
volumes:
- ./token-deployments-info.json:/app/token-deployments-info.json
- ./snapshots:/app/snapshots
- ./tsdb:/app/tsdb
restart: unless-stopped
logging:
driver: "json-file"
options:
max-size: "10m"
max-file: "1"
bobvault-harvester:
image: ghcr.io/zkbob/bob-stat-harvester:${RELAYER_IMAGE:-latest}
entrypoint: ["python", "bobvault-trades.py"]
container_name: bobvault-harvester
environment:
- CHAIN_SELECTOR=bsc,pol,eth,opt,arb1
- MEASUREMENTS_INTERVAL=900
- SNAPSHOT_DIR=snapshots
- TSDB_DIR=tsdb
- FEEDING_SERVICE_URL=https://where.bob-circulating-supply.deployed
- FEEDING_SERVICE_HEALTH_PATH=/health
- FEEDING_SERVICE_UPLOAD_TOKEN=@uth70ken
volumes:
- ./token-deployments-info.json:/app/token-deployments-info.json
- ./snapshots:/app/snapshots
- ./tsdb:/app/tsdb
restart: unless-stopped
logging:
driver: "json-file"
options:
max-size: "10m"
max-file: "1"
balances-indexer:
image: ghcr.io/zkbob/bob-stat-harvester:${RELAYER_IMAGE:-latest}
entrypoint: ["python", "bob-transfer-indexer.py"]
container_name: balances-indexer
environment:
- DEFAULT_MEASUREMENTS_INTERVAL=5
- SNAPSHOT_DIR=snapshots
- TSDB_DIR=tsdb
volumes:
- ./token-deployments-info.json:/app/token-deployments-info.json
- ./snapshots:/app/snapshots
- ./tsdb:/app/tsdb
restart: unless-stopped
logging:
driver: "json-file"
options:
max-size: "10m"
max-file: "1"