Skip to content

Instantly share code, notes, and snippets.

@andrewboudreau
Created June 2, 2021 02:30
Show Gist options
  • Save andrewboudreau/baee0b4dba0697ba3f4e1e4a86f832d4 to your computer and use it in GitHub Desktop.
Save andrewboudreau/baee0b4dba0697ba3f4e1e4a86f832d4 to your computer and use it in GitHub Desktop.
compose a helium validator
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