default.json 1.27 KB
Newer Older
1
{
2 3
  "api": {
    "uriBase": "https://app.motionbank.org",
4
    "apiHost": "https://api.motionbank.org",
5 6
    "transcoderHost": "https://transcoder.motionbank.org",
    "auth0AppMetadataPrefix": "https://app.motionbank.org/app_metadata/"
7
  },
8 9 10 11 12 13 14 15 16 17
  "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
18
  },
A. Koch's avatar
A. Koch committed
19 20
  "acl": {
    "mongodb": {
21 22
      "url": "mongodb://localhost:27017",
      "dbName": "motionbank-api-acl"
A. Koch's avatar
A. Koch committed
23 24
    }
  },
25 26 27 28 29 30 31
  "profiles": {
    "mongodb": {
      "prefix": "sys_",
      "url": "mongodb://localhost:27017/motionbank-api",
      "dbName": "motionbank-api"
    }
  },
32 33 34 35
  "metadata": {
    "memcachedURL": null,
    "lifetime": 86400
  },
36 37 38 39
  "memcached": {
    "url": null,
    "lifetime": 86400
  },
A. Koch's avatar
A. Koch committed
40 41 42 43 44 45 46 47
  "auth": {
    "jwks": {
      "cache": true,
      "rateLimit": true,
      "jwksRequestsPerMinute": 5,
      "jwksUri": "https://motionbank.eu.auth0.com/.well-known/jwks.json"
    },
    "jwt": {
48
      "audience": "https://api.motionbank.org",
A. Koch's avatar
A. Koch committed
49 50 51 52
      "issuer": "https://motionbank.eu.auth0.com/",
      "algorithms": ["RS256"],
      "credentialsRequired": false
    }
53 54 55
  },
  "apiKeys": {
    "youtube": null,
56
    "vimeo": null
57 58
  }
}