I am trying to host OSRM server locally only for 1 city, Is it possible to get the .pbf file for the specific city (Since osrm server requires tiles in that format)? if Possible how? Or is there any alternative?
I already hosted osrm server for Berlin city using the documentation provided https://github.com/Project-OSRM/osrm-backend/wiki/Running-OSRM
bbbike.org allows you to create pbf files for custom shapes via their online tool. Also, they have some ready-made pbf extracts for some cities here.