Discourse Docker is still on Ruby 2.0 and PostgreSQL 9.3 indeed.
Updating to 2.3 will add more memory pressure, so it’s a risk.
PostgreSQL however will bring some perf increases, and PostgreSQL 9.6 later this year will be a very good perf increase for multi-cores installs.