Created
May 6, 2021 17:13
-
-
Save ironicbadger/ede6b61432bee080f75949f464c911cc to your computer and use it in GitHub Desktop.
vmware_exporter compose snippet
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: "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