Ah, non importa, ho finalmente trovato questo post, sembra che dovessi impostare DISCOURSE_BACKUP_DB_PORT.
DISCOURSE_BACKUP_DB_PORT