diff --git a/Dockerfile b/Dockerfile index 1456b15..0304d0a 100644 --- a/Dockerfile +++ b/Dockerfile @@ -135,6 +135,7 @@ ENV POSTGRES_URL=postgresql://postgres@localhost/postgres?host=/tmp CMD ["/bin/bash", "-c", "\ su-exec postgres initdb -D $PGDATA || true && \ echo \"shared_preload_libraries = 'timescaledb,pg_stat_statements'\" >> $PGDATA/postgresql.conf && \ + echo \"max_locks_per_transaction = 256\" >> $PGDATA/postgresql.conf && \ echo \"listen_addresses = ''\" >> $PGDATA/postgresql.conf && \ echo \"unix_socket_directories = '/tmp'\" >> $PGDATA/postgresql.conf && \ su-exec postgres pg_ctl -D $PGDATA -l $PGDATA/logfile start || (cat $PGDATA/logfile && exit 1) && \