docker-taiga / taiga

docker-compose.yml for simple taiga setup
215 stars 75 forks source link

Pin postgres to a major version tag? #17

Closed themightychris closed 5 years ago

themightychris commented 5 years ago

I just restarted my setup based on this docker-compose config and got surprised by my instance not coming up now because postgres got a major version bump. I didn't find any guidance on ideal postgres version other than >= 9.4

Would it make sense to specify a major version tag for postgres in docker-compose?

w1ck3dg0ph3r commented 5 years ago

Would it make sense to specify a major version tag for postgres in docker-compose?

I do exactly that, for when I set up taiga for my team, the latest major postgres version was 9, and I didn't get around to migrate db to the new version yet.

But I'm not sure whether it would be better to pin postgres to the latest major version and document db migration from 9 to 10, or to stick with the version 9?

themightychris commented 5 years ago

FWIW, my install started on 10 and then got broken by 11

Maybe 11 would be the best choice, because that's what people installing fresh now would get anyway. We can at least start leaving new installers in control of when postgres jumps next

w1ck3dg0ph3r commented 5 years ago

Pinned to 11 in 7f217fee88128f304c2138603dd3703eb163df99