diff --git a/docker-compose.yml b/docker-compose.yml new file mode 100644 index 0000000..a4e9903 --- /dev/null +++ b/docker-compose.yml @@ -0,0 +1,15 @@ +version: '2' +services: + vmware_exporter: + # Using the latest tag, but use v0.2.6 if you have issues with vsphere 6.7.x + image: pryorda/vmware_exporter:v0.2.6 + ports: + - "9275:9272" + environment: + VSPHERE_HOST: "vcenter-host" + VSPHERE_USER: "username" + VSPHERE_PASSWORD: "P@ssw0rd" + VSPHERE_IGNORE_SSL: "True" + VSPHERE_COLLECT_VMS: "False" + VSPHERE_COLLECT_VMGUESTS: "False" + restart: always