-
Notifications
You must be signed in to change notification settings - Fork 96
/
Copy pathnow.json
41 lines (41 loc) · 1.53 KB
/
now.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
{
"version": 2,
"regions": ["dub1"],
"build": {
"env": {
"GRAPHQL_URL": "https://tottem.now.sh/graphql",
"DATABASE_PROVIDER": "@database_provider",
"DATABASE_URL": "@database_url",
"AUTH0_DOMAIN": "@auth0_domain",
"AUTH0_CLIENTID": "@auth0_client_id",
"AUTH0_AUDIENCE": "https://tottem-api.herokuapp.com/graphql",
"AUTH0_CALLBACK": "https://beta.tottem.app/auth/callback",
"ENGINE_API_KEY": "@engine_api_key"
}
},
"env": {
"ENGINE_API_KEY": "@engine_api_key",
"GITHUB_API_KEY": "@github_api_key",
"GOOGLEBOOKS_API_KEY": "@googlebooks_api_key",
"MOVIEDB_API_KEY": "@moviedb_api_key",
"SPOTIFY_CLIENT_ID": "@spotify_client_id",
"SPOTIFY_CLIENT_SECRET": "@spotify_client_secret",
"YOUTUBE_API_KEY": "@youtube_api_key",
"DATABASE_PROVIDER": "@database_provider",
"DATABASE_URL": "@database_url",
"AUTH0_AUDIENCE": "https://tottem-api.herokuapp.com/graphql",
"AUTH0_DOMAIN": "@auth0_domain",
"ACCESS_KEY_ID_AWS": "@aws_access_key_id",
"SECRET_ACCESS_KEY_AWS": "@aws_secret_access_key"
},
"builds": [
{ "src": "package.json", "use": "@now/next" },
{ "src": "public/*", "use": "@now/static" },
{
"src": "api/src/index.ts",
"use": "@now/node",
"config": { "maxLambdaSize": "20mb" }
}
],
"routes": [{ "src": "/graphql", "dest": "/api/src/index.ts" }]
}