jeancochrane / mellow-bike-map

🚲 Web app and routing API for finding safe, chill bike routes. Like Google Maps if it took you through cozy side streets.
https://mellowbikemap.com
MIT License
13 stars 5 forks source link

Update postgis and postgres libraries #38

Closed kalilsn closed 2 years ago

kalilsn commented 2 years ago

When I tried to build the main python image and run make (docker-compose -f docker-compose.yml -f docker-compose.db.yml build), it failed because apt couldn't find postgresql-server-dev-11 or postgresql-11-postgis-2.5. I think this is because the docker image is based on python:3.8 and that has changed from being based on Debian 10 to 11. Presumably you'll see this error as well if you try to redeploy mbm or rebuild locally - can you confirm?

These updates seem to work alright for me, but if you'd rather, I can just pin the Dockerfile to a specific underlying debian release but I'm not sure which one works!