lots of them
What you are going to need to do is go to make a copy of the pg 9.3 template and “muck” with it to make it able to uninstall pg 9.5 properly.
The way you would do this is:
cp templates/postgres.9.3.template.yml containers/my-hacked-template.yml
Then add
templates:
- containers/my-hacked-template.yml
Into your container definition and remove 9.3
Then you need to start playing with
https://github.com/discourse/discourse_docker/blob/master/templates/postgres.9.3.template.yml#L23
To see what you need to do to get that apt-get remove line to work. Once you get it working, ping us back here to let us know what you did.