We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 62a07e6 commit 7a25f09Copy full SHA for 7a25f09
docker/all-in-one/init/configure-pgbouncer.sh
@@ -11,6 +11,9 @@ PGBOUNCER_CONF=/etc/pgbouncer/pgbouncer.ini
11
if [ -f "${INIT_PAYLOAD_PATH:-}" ]; then
12
echo "init pgbouncer payload"
13
sed -i -E "s|^# (%include /etc/pgbouncer-custom/ssl-config.ini)$|\1|g" $PGBOUNCER_CONF
14
+
15
+ tar -xzvf "$INIT_PAYLOAD_PATH" -C /etc/pgbouncer/ --strip-components 3 ./etc/pgbouncer/userlist.txt
16
+ chown -R pgbouncer:pgbouncer /etc/pgbouncer/userlist.txt
17
fi
18
19
if [ "${DATA_VOLUME_MOUNTPOINT}" ]; then
0 commit comments