a single Perl script without any dependence and it can be used on any
plateform. It is a non sens to use docker to run pgbadger, if you don't
want to install anything, just copy the file pgbadger where you want and
execute it.
+++ /dev/null
-FROM alpine:latest
-
-# Since Alpine linux 3.3 we can install on-the-fly
-RUN apk add --no-cache bzip2 gzip openssh-client perl unzip xz
-
-COPY pgbadger /usr/local/bin
-
-ENTRYPOINT ["pgbadger"]
By default INSTALLDIRS is set to site.
-DOCKER USAGE
- pgBadger is available as Docker image. Remember to mount logs and
- outdir.
-
- docker run -v /var/log/postgresql:/logs -v ${PWD}:/outdir dalibo/pgbadger -O /outdir /logs/postgresql.log
-
POSTGRESQL CONFIGURATION
You must enable and set some configuration directives in your
postgresql.conf before starting.
By default INSTALLDIRS is set to site.
-=head1 DOCKER USAGE
-
-pgBadger is available as Docker image. Remember to mount logs and outdir.
-
- docker run -v /var/log/postgresql:/logs -v ${PWD}:/outdir dalibo/pgbadger -O /outdir /logs/postgresql.log
-
=head1 POSTGRESQL CONFIGURATION
You must enable and set some configuration directives in your postgresql.conf