Resolves the database port.
FutureOr<int> resolveDbPort(int port) => resolveFreePort(port).resolveMapped((p) { dbConfig['port'] = p; return p; });