-
-
Notifications
You must be signed in to change notification settings - Fork 29
/
.env.prod
54 lines (45 loc) · 1.3 KB
/
.env.prod
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
# Configuration settings for the `prod` environment.
# Use the following CLI commands for reading/writing secrets:
#
# $ yarn envars set <name> <value> --env=prod --secret
# $ yarn envars get <name> --env=prod
#
APP_ORIGIN=https://example.com
# Google Cloud
GOOGLE_CLOUD_PROJECT=example
# PostgreSQL
# https://www.postgresql.org/docs/current/static/libpq-envars.html
PGHOST=127.0.0.1
PGPORT=5432
PGUSER=postgres
PGPASSWORD=
PGDATABASE=example
PGSSLMODE=verify-ca
PGSSLCERT=./env/db.client-cert.prod.pem
PGSSLKEY=./env/db.client-key.prod.pem
PGSSLROOTCERT=./env/db.server-ca.prod.pem
PGSERVERNAME=example:pg13
# Cloud storage bucket for user uploaded content and static assets
STORAGE_BUCKET=s.example.com
CACHE_BUCKET=c.example.com
# JWT-based sessions
# https://github.com/auth0/node-jsonwebtoken
JWT_SECRET=xxxxx
# Google OAuth 2.0 credentials
# https://console.cloud.google.com/apis/credentials
GOOGLE_CLIENT_ID=xxxxx.apps.googleusercontent.com
GOOGLE_CLIENT_SECRET=xxxxx
# Facebook App
# https://developers.facebook.com/apps/
FACEBOOK_APP_ID=xxxxx
FACEBOOK_APP_SECRET=xxxxx
# GitHub App
# https://github.com/settings/developers
GITHUB_APP_ID=xxxxx
GITHUB_APP_KEY=xxxxx
GITHUB_CLIENT_ID=xxxxx
GITHUB_CLIENT_SECRET=xxxxx
# Email Settings
# https://nodemailer.com/
EMAIL_FROM=no-reply@example.com
EMAIL_PASSWORD=xxxxx