Closed jakemorr closed 4 years ago
I've sent rocketchat messages to Gary and Mat asking: "Who's the best resource to ask questions about getting that HA postgresql database into our project? Specifically - we'd want it with PostGIS and wonder how much work it would be making that happen." - waiting for response.
Steve Hillier: "It would be nice to maybe make a PR to the BCDevOps repo but for now I uploaded a Dockerfile here https://gist.github.com/stephenhillier/17bf0a7365f00c916d80733028f34ae9 It uses the Docker hub Postgres because I based it off the Dockerfile in the BCDevOps repo
It uses the Docker hub Postgres because I based it off the Dockerfile in the BCDevOps repo https://github.com/BCDevOps/platform-services/blob/master/apps/pgsql/patroni/docker/Dockerfile
now that there is an official (I think?) postgis/postgis Docker hub you could presumably install Patroni to that too. If you look in the BCDevOps branches you can also find an experimental RHEL based Dockerfile by cvarjao"
Seems very do-able - the platform team has a patroni templates and docker files: https://github.com/BCDevOps/platform-services/tree/master/apps/pgsql/patroni/ and the water team has experience applying PostGIS on top of what they have.
I've started exploring this on branch: task/postgis_ha Following the platform teams instructions I easily deployed an instance in our openshift project.
Next steps:
Describe the task Can we use Common Services Team DB template with Post GIS?
Acceptance Criteria
Additional context