Mercurial > gemma
changeset 306:70592a18c5c6
Keep log on stderr to be able to use docker logs
author | Tom Gottfried <tom@intevation.de> |
---|---|
date | Wed, 01 Aug 2018 15:18:26 +0200 |
parents | 8aa472939148 |
children | 750a9c9cd965 |
files | schema/Dockerfile |
diffstat | 1 files changed, 3 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/schema/Dockerfile Wed Aug 01 13:39:21 2018 +0200 +++ b/schema/Dockerfile Wed Aug 01 15:18:26 2018 +0200 @@ -20,7 +20,9 @@ # Adjust PostgreSQL configuration so that remote connections to the # database are possible. echo "host all all 0.0.0.0/0 md5" >> /var/lib/pgsql/10/data/pg_hba.conf &&\ - echo "listen_addresses='*'" >> $PGCONF + echo "listen_addresses='*'" >> $PGCONF &&\ + # Keep log on stderr to be able to use docker logs + sed -i '/logging_collector/s/on/off/' $PGCONF # Expose the PostgreSQL port EXPOSE 5432