Multisite, 2 containers and "PG::ConnectionBad: could not connect to server" error

Ok, I’ve to had some fields:

before_bundle_exec:
    - file:
        path: $home/config/multisite.yml
        contents: |
         secondsite:
           adapter: postgresql
           username: discourse
           password: SECRET
           host: data
           database: rs_discourse
           pool: 25
           timeout: 5000
           db_id: 2
           host_names:
             - test.test.com
2 Likes