Pgbouncer + Docker

I can’t seem to find any documentation on setting up pgbouncer when you are using docker to run an instance. Does anyone have the time to help me out? I’d really appreciate it - thanks!

You’d probably need to change the docker-compose.yml file and make sure mastodon connects to pgbouncer instead of the regular Postgres.

Some attempt to do that (but apparently not fully working) can be found here:

Another example config can be found here:

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.