From d0905e15992156b8bed04a44fe1b1a615dd0d382 Mon Sep 17 00:00:00 2001 From: f Date: Tue, 2 Feb 2021 21:01:02 -0300 Subject: [PATCH] setup pager for querying --- Dockerfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 0b5e831..75d018b 100644 --- a/Dockerfile +++ b/Dockerfile @@ -8,8 +8,9 @@ ENV PGUSER sutty ENV PGDB sutty ENV PGVER 12 ENV PGCLIENT sutty +ENV PAGER "less -niSFX" -RUN apk add --no-cache postgresql postgresql-contrib daemonize +RUN apk add --no-cache postgresql postgresql-contrib daemonize less COPY ./postgresql.sh /usr/local/bin/postgresql COPY ./monit.conf /etc/monit.d/postgresql.conf