D2IR Mock Server Deployment in Rancher

MOCKSERVER_WATCH_INITIALIZATION_JSON=true
MOCKSERVER_INITIALIZATION_JSON_PATH=/path-to/mockserverInitialization.json
MOCKSERVER_PERSIST_EXPECTATIONS=true
MOCKSERVER_PERSISTED_EXPECTATIONS_PATH=/path-to/mockserverInitialization.json

mockserverInitialization.json is the config file where expected requests and their responses are defined. You need to keep this config file persisted and load the path of this config file in environment variables.