# HG changeset patch # User Tom Gottfried # Date 1533129506 -7200 # Node ID 70592a18c5c695b418a5d7404b029fe70f3664a5 # Parent 8aa47293914833b7523a978e2bd23f3d4ca0a1bf Keep log on stderr to be able to use docker logs diff -r 8aa472939148 -r 70592a18c5c6 schema/Dockerfile --- 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