mirror of
https://github.com/status-im/infra-role-geth-exporter.git
synced 2025-02-23 07:58:41 +00:00
19 lines
493 B
YAML
19 lines
493 B
YAML
---
|
|
- name: 'Start container: {{ geth_expo_cont_name }}'
|
|
docker_container:
|
|
name: '{{ geth_expo_cont_name }}'
|
|
image: '{{ geth_expo_cont_image }}'
|
|
user: root
|
|
pull: true
|
|
restart_policy: always
|
|
state: '{{ cont_state }}'
|
|
recreate: '{{ cont_recreate }}'
|
|
restart: '{{ cont_restart }}'
|
|
entrypoint: geth_exporter
|
|
volumes_from: '{{ cont_name }}'
|
|
command: |
|
|
-ipc /data/geth.ipc
|
|
-port 9200
|
|
ports:
|
|
- '{{ geth_expo_cont_port }}:9200/tcp'
|