default.json 871 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
  "acl": {
    "mongodb": {
15 16
      "url": "mongodb://localhost:27017",
      "dbName": "motionbank-api-acl"
A. Koch's avatar
A. Koch committed
17 18
    }
  },
19 20 21 22 23 24 25
  "profiles": {
    "mongodb": {
      "prefix": "sys_",
      "url": "mongodb://localhost:27017/motionbank-api",
      "dbName": "motionbank-api"
    }
  },
A. Koch's avatar
A. Koch committed
26 27 28 29 30 31 32 33
  "auth": {
    "jwks": {
      "cache": true,
      "rateLimit": true,
      "jwksRequestsPerMinute": 5,
      "jwksUri": "https://motionbank.eu.auth0.com/.well-known/jwks.json"
    },
    "jwt": {
34
      "audience": "https://api.motionbank.org",
A. Koch's avatar
A. Koch committed
35 36 37 38
      "issuer": "https://motionbank.eu.auth0.com/",
      "algorithms": ["RS256"],
      "credentialsRequired": false
    }
39 40
  }
}