mirror of
https://github.com/prometheus-community/postgres_exporter
synced 2025-04-26 04:58:05 +00:00
* PMM-12339 remove go tip * PMM-12339 use Go version from go.mod * PMM-12339 Hix CI * PMM-12339 remove a redundant linter run (file missing) * PMM-12339 avoid linting when running tests * PMM-12339 final cleanup --------- Co-authored-by: Artem Gavrilov <artem.gavrilov@percona.com>
28 lines
671 B
YAML
28 lines
671 B
YAML
---
|
|
services:
|
|
postgresql:
|
|
image: ${POSTGRESQL_IMAGE:-postgres}
|
|
container_name: postgres_exporter_postgresql
|
|
ports:
|
|
- 127.0.0.1:5432:5432
|
|
environment:
|
|
- POSTGRES_USER=root
|
|
- POSTGRES_PASSWORD=root
|
|
|
|
postgresql-ssl:
|
|
image: ${POSTGRESQL_IMAGE:-postgres}
|
|
container_name: postgres_exporter_postgresql-ssl
|
|
command: >
|
|
-c ssl=on
|
|
-c ssl_cert_file=/ssl/server.crt
|
|
-c ssl_key_file=/ssl/server.key
|
|
-c ssl_ca_file=/ssl/CA.crt
|
|
-c log_min_messages=DEBUG4
|
|
ports:
|
|
- 5433:5432
|
|
environment:
|
|
- POSTGRES_USER=root
|
|
- POSTGRES_PASSWORD=root
|
|
volumes:
|
|
- ./testdata/ssl/server:/ssl
|