forked from cofacts/rumors-api
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.env.sample
41 lines (32 loc) · 1.22 KB
/
.env.sample
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
# Elasticsearch DB; Shared by api-server and CLI script
ELASTICSEARCH_URL=http://localhost:62222
ELASTIC_LOG_LEVEL=warning
# API server port
PORT=5000
# Rollbar setup
ROLLBAR_TOKEN=YOUR_ROLLBAR_TOKEN
ROLLBAR_ENV=localhost
# HTTP header to identify the client apps
HTTP_HEADER_APP_ID=x-app-id
HTTP_HEADER_APP_SECRET=x-app-secret
# official web clients
RUMORS_SITE_CORS_ORIGIN=http://localhost:3000
# official line bot client
RUMORS_LINE_BOT_SECRET=secret
# Cookie related setup, expire time default to 86400 * 1000 * 14 milliseconds (14 days)
COOKIE_MAXAGE=1209600000
COOKIE_SECRETS=foo,bar
# Login-service credentials
FACEBOOK_APP_ID=YOUR_FB_ID
FACEBOOK_SECRET=YOUR_FB_SECRET
FACEBOOK_CALLBACK_URL=http://localhost:5000/callback/facebook
TWITTER_CONSUMER_KEY=YOUR_TWITTER_CONSUMER_KEY
TWITTER_CONSUMER_SECRET=YOUR_TWITTER_CONSUMER_SECRET
TWITTER_CALLBACK_URL=http://localhost:5000/callback/twitter
GITHUB_CLIENT_ID=YOUR_GITHUB_CLIENT_ID
GITHUB_SECRET=YOUR_GITHUB_CLIENT_SECRET
GITHUB_CALLBACK_URL=http://localhost:5000/callback/github
# URL to URL resolver microservice (http://github.com/cofacts/url-resolver)
URL_RESOLVER_URL=http://localhost:4000
# Apollo engine. When not given, disables Apollo Engine introspection
ENGINE_API_KEY=