Created
June 2, 2021 02:30
-
-
Save andrewboudreau/baee0b4dba0697ba3f4e1e4a86f832d4 to your computer and use it in GitHub Desktop.
compose a helium validator
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
version: "3.7" | |
services: | |
validator: | |
image: quay.io/team-helium/validator:latest-val-amd64 | |
container_name: validator | |
init: true | |
restart: always | |
ports: | |
- "2154:2154" | |
volumes: | |
- type: bind | |
source: /data/validator_data | |
target: /var/data | |
miner_exporter: | |
image: ghcr.io/tedder/miner_exporter:latest | |
container_name: miner_exporter | |
volumes: | |
- /var/run/docker.sock:/var/run/docker.sock | |
ports: | |
- "9825:9825" | |
restart: always | |
watchtower: | |
image: containrrr/watchtower | |
container_name: watchtower | |
volumes: | |
- /var/run/docker.sock:/var/run/docker.sock | |
restart: always | |
command: --interval 1800 --cleanup |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment