pgtuned
pgtuned copied to clipboard
Use docker-entrypoint.d instead of docker-entrypoint-initdb.d
docker-entrypoint-initdb.d only gets run when there is no database. If you try to migrate from the standard Postgres container to this, nothing will change. By using docker-entrypoint.d the configuration will always be used and the generated configuration will reflect the current state of the server.