Skip to content

Commit

Permalink
chore: pgbouncer: remove server_fast_close workaround
Browse files Browse the repository at this point in the history
Now that bitnami/containers#54732 and bitnami/containers#54874 are merged and released.

follow-up of 342e0e7
  • Loading branch information
derhuerst committed Feb 6, 2024
1 parent 20f204b commit 855ebb7
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 14 deletions.
2 changes: 0 additions & 2 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -507,8 +507,6 @@ services:
# contains the latest import's DB name
- ./var/gtfs/pgbouncer-dsn.txt:/var/gtfs-pgbouncer-dsn.txt
- ./etc/reload-pgbouncer-databases.sh:/reload-pgbouncer-databases.sh
# /docker-entrypoint-initdb.d is bitnami/pgbouncer's default directory for custom init scripts.
- ./etc/pgbouncer-write-server_fast_close.sh:/docker-entrypoint-initdb.d/write-server_fast_close.sh
environment:
# Even if we define all upstream database connections "manually" using $PGBOUNCER_DSN_* (see below), the bitnami/pgbouncer Docker image expects 1 connection to be specified via $POSTGRESQL_*, which it implicitly adds to the `[database]` section of pgbouncer.ini. Note that the specified database credentials must be valid.
# However, the $POSTGRESQL_* env vars are *also* used to configure client access to pgbouncer: They get implicitly added to the generated userlist.txt, meaning that clients *must* use them (if there are no other user/password pairs defined, which we don't do) to connect to *any* exposed connection.
Expand Down
12 changes: 0 additions & 12 deletions etc/pgbouncer-write-server_fast_close.sh

This file was deleted.

0 comments on commit 855ebb7

Please sign in to comment.