mirror of
https://github.com/status-im/infra-role-geth-exporter.git
synced 2025-02-22 07:38:04 +00:00
19 lines
461 B
Django/Jinja
19 lines
461 B
Django/Jinja
---
|
|
version: '3.7'
|
|
services:
|
|
metrics:
|
|
container_name: '{{ geth_expo_cont_name }}'
|
|
image: '{{ geth_expo_cont_image }}'
|
|
user: 'root'
|
|
restart: 'always'
|
|
entrypoint: 'geth_exporter'
|
|
ports:
|
|
- '{{ geth_expo_cont_port }}:{{ geth_expo_cont_port }}/tcp'
|
|
volumes:
|
|
- '{{ geth_expo_source_data_path | mandatory }}:/data'
|
|
command: |
|
|
-ipc /data/geth.ipc
|
|
-port {{ geth_expo_cont_port }}
|
|
depends_on:
|
|
- 'geth'
|