Skip to content

Instantly share code, notes, and snippets.

@ironicbadger
Created May 6, 2021 17:13
Show Gist options
  • Save ironicbadger/ede6b61432bee080f75949f464c911cc to your computer and use it in GitHub Desktop.
Save ironicbadger/ede6b61432bee080f75949f464c911cc to your computer and use it in GitHub Desktop.
vmware_exporter compose snippet
---
version: "2"
services:
prometheus:
image: prom/prometheus
container_name: prometheus
privileged: True
volumes:
- /mnt/tank/appdata/prometheus:/etc/prometheus
ports:
- 9090:9090
restart: unless-stopped
vmware_exporter:
image: pryorda/vmware_exporter:v0.16.0
container_name: vmware_exporter
ports:
- 9272:9272
environment:
- VSPHERE_HOST=192.168.1.240
- VSPHERE_IGNORE_SSL=True
- [email protected]
- VSPHERE_PASSWORD=supersecret
restart: unless-stopped
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment