Separate psql server / migrate

I am building a forum using docker.
I’m trying to use a remote database, but I have a few questions

  1. Is it okay to use ppas (Postgres plus advanced server) ?
  2. In this guide > Running Discourse with a separate PostgreSQL server
    there is no migration procedure.
    If I run the “./launch rebuild app” or “bundle exec rake db:migrate” on the web server,
    it will the migration automatically performed on the remote database?

I look forward to your prompt reply.


If you configure the DB settings, it’ll do as expected.

  DISCOURSE_DB_HOST: {{discourse_db_host}}
  DISCOURSE_DB_USERNAME: {{discourse_db_username}}
  DISCOURSE_DB_PASSWORD: {{discourse_db_password}}
  DISCOURSE_DB_NAME: {{ discourse_db_name }}