default.json 927 Bytes
Newer Older
1 2 3 4 5 6 7 8 9 10 11
{
  "http": {
    "host": "0.0.0.0",
    "port": 3030
  },
  "resources": {
    "mongodb": {
      "prefix": "res_",
      "url": "mongodb://localhost:27017/motionbank-api",
      "dbName": "motionbank-api"
    }
A. Koch's avatar
A. Koch committed
12
  },
A. Koch's avatar
A. Koch committed
13 14 15 16 17 18 19 20
  "acl": {
    "mongodb": {
      "name": "acl",
      "prefix": "acl_",
      "url": "mongodb://localhost:27017/motionbank-api",
      "dbName": "motionbank-api"
    }
  },
21 22 23 24 25 26 27
  "profiles": {
    "mongodb": {
      "prefix": "sys_",
      "url": "mongodb://localhost:27017/motionbank-api",
      "dbName": "motionbank-api"
    }
  },
A. Koch's avatar
A. Koch committed
28 29 30 31 32 33 34 35
  "auth": {
    "jwks": {
      "cache": true,
      "rateLimit": true,
      "jwksRequestsPerMinute": 5,
      "jwksUri": "https://motionbank.eu.auth0.com/.well-known/jwks.json"
    },
    "jwt": {
36
      "audience": "https://api.motionbank.org",
A. Koch's avatar
A. Koch committed
37 38 39 40
      "issuer": "https://motionbank.eu.auth0.com/",
      "algorithms": ["RS256"],
      "credentialsRequired": false
    }
41 42
  }
}