{"repo":"pgautoupgrade/docker-pgautoupgrade","free":true,"listed":false,"github":"https://github.com/pgautoupgrade/docker-pgautoupgrade","clone":"git clone https://github.com/pgautoupgrade/docker-pgautoupgrade.git","description":"A PostgreSQL Docker container that automatically upgrades your database","language":"Shell","stars":1180,"topics":["docker","postgres","postgresql","postgresql-database","upgrade"],"license":"MIT","category":"databases-storage","readme_excerpt":"pgautoupgrade This is a PostgreSQL Docker image to automatically upgrade your database. Its whole purpose in life is to automatically detect the version of PostgreSQL used in the existing PostgreSQL data directory, then automatically upgrade it (if needed) to the required version of PostgreSQL using pg upgrade with the --link option. After this, the PostgreSQL server starts and runs as per normal. The old cluster data will be removed. The reason this Docker image is needed, is because the official Docker PostgreSQL image has no ability to handle version upgrades, which leaves people to figure it out manually (not great): [!WARNING] Backup your data! This Docker image does an in-place upgrade of the database data, so if something goes wrong you are expected to already have backups you can restore from. [!IMPORTANT] Also, remove any healthchecks. Due to how we perform the update process, we had to implement our own healthcheck. So no extra healthcheck is needed. How to use this image This image is on Docker Hub: To always use the latest version of PostgreSQL, use the tag latest : pgautoupgrade/pgautoupgrade:latest Please note that our latest tag is based on Alpine Linux, whereas the latest tag used by the official Docker Postgres container is based on Debian (see also the section on Debian vs Alpine based images). If you instead want to run a specific version of PostgreSQL then pick a matching tag on our Docker Hub. For example, to use PostgreSQL 18 you can use the 18-alpine ta","default_branch":null,"files":null,"tree":[],"storefront":"/r/pgautoupgrade","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/pgautoupgrade/docker-pgautoupgrade/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}