OK, so when setting up Mastodon to use PostgreSQL on socket you just specify socket directory. Path to full socket is generated from DB_PORT option (.s.PGSQL.DB_PORT)
Why is this step necessary? social.tomica.me might not be the server where you are registered, so we need to redirect you to your home server first.
Don't have an account? You can sign up here