DAPI is configured via environment variables. So, for example, in order to change rpc server port, you need to run RPC_SERVER_PORT=3010 npm start.
INSIGHT_URI- string, Insight-API address, default value ishttp://127.0.0.1:3001/insight-api-axeLIVENET- boolean. Set to true if you are going to run DAPI on the livenet. Defaults tofalse.RPC_SERVER_PORT- integer. Port on which DAPI server will listen. Defaults to3000AXECORE_RPC_PROTOCOLstring. Protocol for connecting to axecore RPC. Defaults tohttpAXECORE_RPC_USER. Defaults toaxerpcAXECORE_RPC_PASS. Defaults topasswordAXECORE_RPC_HOST. Defaults to127.0.0.1AXECORE_RPC_PORT. Defaults to30002AXECORE_ZMQ_HOST. Defaults to127.0.0.1AXECORE_ZMQ_PORT. Defaults to30003AXECORE_P2P_HOST. Defaults to127.0.0.1AXECORE_P2P_PORT. Defaults to30001AXEDRIVE_RPC_HOST. Defaults to127.0.0.1AXEDRIVE_RPC_PORT. Defaults to6000AXECORE_P2P_NETWORK. Can betestnet,regtestandlivenet. Defaults totestnetNETWORKCan betestnet,regtestandlivenetDefaults totestnetBLOOM_FILTER_PERSISTENCE_TIMEOUT- integer. Bloom filter persistence timeout in milliseconds. Defaults to 1 minute.