-
Notifications
You must be signed in to change notification settings - Fork 10
/
.env.sample
76 lines (60 loc) · 2.13 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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
# Environment variables.
#
# * This is a canonical reference. *All* ENV vars needed in *all*
# environments should be placed here.
# * A `.env` is a requirement of *all* environments, including tests.
# * Copy `.env.sample` to `.env` for it to be automatically sourced.
# * See /config.js for individual explanations of each variable.
# * Don't use ""'' quotes
# API
# ---
# Port that the API runs on
PORT=4000
# Used for sending links in emails
BROWSER_URL=http://localhost:4000
COOKIE_PASSWORD=12345678901234567890123456789012
# Used for cookies
HOST_TLD=localhost
DB_URI=mongodb://localhost:27017/oam-api
# OAuth login for users
# ---------------------
FACEBOOK_APP_ID=123
FACEBOOK_APP_SECRET=123abc
GOOGLE_CLIENT_ID=123
GOOGLE_CLIENT_SECRET=asdasd@clientd
# OAM-specific
# ------------
# The list of buckets to index
OIN_REGISTER_URL=http://localhost:8080/fixtures/oin-buckets.json
# The bucket into which images uploaded by users are placed
OIN_BUCKET=oin-hotosm-staging
# Convenience for not having to create new buckets. Eg; Travis CI tests require this.
# Remove if not needed, do not leave empty.
OIN_BUCKET_PREFIX=development
# A bucket just for somewhere to place imagery uploaded from the browser, before it
# gets fully processed.
UPLOAD_BUCKET=oam-uploader-staging-temp
# The location of the dynamic tiler service
TILER_BASE_URL=http://tiles.staging.openaerialmap.org
# How often to run background processes. Run quickly like this only for non-production.
# Will not be needed once Monq is integrated.
CRON_TIME=*/15 * * * * *
# Used to identify imagery after it has been uploaded.
S3_PUBLIC_DOMAIN=s3.amazonaws.com
# AWS credentials
AWS_ACCESS_KEY_ID=123
AWS_SECRET_ACCESS_KEY=abc
AWS_REGION=us-east-1
# Application monitoring service
NEW_RELIC_LICENSE_KEY=123abc
# For sending emails
SENDGRID_API_KEY=123
# For being able to grab imagery from a user's GDrive account
GDRIVE_KEY=abc123
# For non-production environments
# -------------------------------
# Used for testing only
API_ENDPOINT=http://localhost:4000
# More verbosity in the logs. Can also be specified on the command line
OAM_DEBUG=false