mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2026-11-08 11:46:35 +00:00
postgis/postgis publishes amd64 only, so every postgres consumer failed on arm64. The official postgres image serves both architectures and already ships the contrib extensions bloom, pg_trgm and unaccent. PostGIS moves into the postgres_libraries registry and is installed from PGDG (postgresql-18-postgis-3) only for a consumer that declares it as an extension, which is mobilizon alone. apt update reads every source list again, because the PostGIS package depends on GDAL from Debian main, which a PGDG-only update left without an install candidate. Postgres 18 keeps its cluster in /var/lib/postgresql/18/docker and its entrypoint treats a volume at the former /var/lib/postgresql/data as an old database, so the central and the dedicated data volume both mount at /var/lib/postgresql. Existing 17 clusters are not migrated: their data directory trips the entrypoint's old-data check and the container refuses to start. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>