hackoregon / transportation-system-backend

2018 repo for the transportation api backend
MIT License
8 stars 2 forks source link

Django container is Debian "jessie", PostgreSQL client 9.4 - both need upgrading #19

Closed znmeb closed 6 years ago

znmeb commented 6 years ago

Our database containers are running Debian "stretch", not "jessie". And PostgreSQL is 10.1, not 9.4. Both need to be upgraded in the Django API container.

znmeb commented 6 years ago

It turns out that the reason the Django container is Debian "jessie" is that the default official Python 3 image is on "jessie": https://store.docker.com/images/python (Dockerfile: https://github.com/docker-library/python/blob/a1aa406bfd8c7b129e6e0ee0ba972b863624ac0d/3.6/jessie/Dockerfile).

I think we can live with "jessie" in the Django containers and "stretch" in the PostgreSQL containers, but we definitely need to have the PostgreSQL client and server release levels match. I know how to do that at the OS level but still need to do some research at the Python and Django levels. So I'm adding a "help wanted" tag.

znmeb commented 6 years ago

Closing here - I put up a master task list at https://github.com/hackoregon/transportation-systems/issues/19