1
0
mirror of https://github.com/prometheus-community/postgres_exporter.git synced 2026-10-23 12:08:57 +03:00
Files
Cristian Greco 3c0720a1bc feat: reorganize code to remove the main package (#1238)
* feat: reorganize code to remove the main package

Move all `main` code to `exporter`, for easier code embedding.

Signed-off-by: Cristian Greco <cristian@regolo.cc>

* move logger args to NewExporter signature

Signed-off-by: Cristian Greco <cristian@regolo.cc>

---------

Signed-off-by: Cristian Greco <cristian@regolo.cc>
2026-01-28 15:42:24 -05:00

9 lines
395 B
Docker
Executable File

FROM postgres:11
MAINTAINER Daniel Dent (https://www.danieldent.com)
ENV PG_MAX_WAL_SENDERS 8
ENV PG_WAL_KEEP_SEGMENTS 8
RUN apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y inetutils-ping
COPY setup-replication.sh /docker-entrypoint-initdb.d/
COPY docker-entrypoint.sh /docker-entrypoint.sh
RUN chmod +x /docker-entrypoint-initdb.d/setup-replication.sh /docker-entrypoint.sh