When rebuild, Discourse removes PostGreSQL 10 and reinstalls version 9.5

You are right, the following line was at beginning of app.yml
"templates/postgres.9.5.template.yml"
I replaced it by:
"templates/postgres.template.yml"
The first rebuild after this change upgraded my Postgres database
And the second rebuild is currently running, but it seems to work :slight_smile:

Thanks for all !