pgpool/pgpool2_exporter

DockerFile does not have an environment variable to pass in PGPOOL DB NAME

pratik-pagade opened this issue · 4 comments

The docker file does not contain an environment variable for the DB. It's using the default 'postgres' db in the data source. Can you please add in the environment variable to the dockerfile so that it can be overriden.

I have added a new environment variable "POSTGRES_DATABASE" to override the database name.
a4c7d80

Could you also push this updated dockerimage build to the pgpool dockerhub repository ? Since I'm using a macOS the compiled binaries don't work, when I do a docker run, so having the updated docker image will be very helpful. Thank you @pengbo0328.

I have released it as a new version 1.1.0.
You can find the updated docker images here.

Thank you!