-
Notifications
You must be signed in to change notification settings - Fork 20
/
docker-compose.yaml
44 lines (43 loc) · 1.89 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
version: '3.6'
services:
splunk:
image: splunk/splunk:latest
container_name: splunk
environment:
- SPLUNK_START_ARGS=--accept-license
- SPLUNK_HEC_TOKEN=11111111-1111-1111-1111-1111111111113
- SPLUNK_PASSWORD=changeme
- SPLUNK_APPS_URL=https://github.com/splunk/splunk-app-for-ethereum/releases/download/1.1.9/splunk-app-for-ethereum_1.1.9.tgz,https://github.com/splunk/splunk-app-for-ethereum/raw/master/viz_apps/splunk-sankey-diagram-custom-visualization_160.tgz,https://github.com/splunk/splunk-app-for-ethereum/raw/master/viz_apps/force-directed-app-for-splunk_310.tgz
ports:
- 8000:8000
- 8088:8088
healthcheck:
test: ['CMD', 'curl', '-f', 'http://localhost:8000']
interval: 5s
timeout: 5s
retries: 20
volumes:
- /opt/splunk/var
- /opt/splunk/etc
ethlogger:
image: ghcr.io/splunkdlt/ethlogger:latest
container_name: ethlogger
environment:
# Be sure you have created the indexes specified below (i.e. 'main' & 'metrics')
# Set the environment variables to connect to your preferred chain/provider (default is Ethereum from https://www.ankr.com/)
# - ETH_RPC_URL=https://mainnet.infura.io/v3/<your infura project id>
- ETH_RPC_URL=https://rpc.gnosischain.com
- START_AT_BLOCK=latest
- SPLUNK_HEC_URL=https://splunk:8088
- SPLUNK_HEC_TOKEN=11111111-1111-1111-1111-1111111111113
- SPLUNK_EVENTS_INDEX=main
- SPLUNK_METRICS_INDEX=metrics
- SPLUNK_INTERNAL_INDEX=metrics
- SPLUNK_HEC_REJECT_INVALID_CERTS=false
- ABI_DIR=/app/abis
volumes:
- ./abis:/app/abis
- ./:/app
depends_on:
- splunk
restart: always