-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.env.sample
278 lines (220 loc) · 11.5 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
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
# ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
# [Dot Env] Configuration
# ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
#
# Contents:
# [1]: Environment
# [2]: Database
# [3]: Email
# [4]: API: Payment Gateways
# [5]: API: Social Authentication
# [6]: API: AWS Resources
# ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
# _
# / |
# | | [1] Environment
# |_|
#
# ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
SITE_TITLE=JREAM
# This sends to localhost mailcatcher: 127.0.0.1:1080
# It only runs when NOT in production, ensure running with: $ mailcatcher
DEBUG_EMAIL=True # Forced OFF if in production mode.
DEBUG_CONSOLE=True # Forced OFF if in production mode.
# Environment: development / testing / staging / production
# ───────────────────────────────────────────────────────────────────
APPLICATION_ENV=development
URL=http://jream.local
BASE_URI=/
#Production Settings
#APPLICATION_ENV=production
#URL=https://jream.com
#BASE_URI=https://jream.com
# ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
# ___
# |_ )
# / / [2] Database
# /___|
#
# ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
DB_ADAPTER=Mysql
DB_HOST=localhost
DB_PORT=3200
DB_USERNAME=root
DB_PASSWORD=root
DB_DATABASE=jream_new
UNITTEST_DB_ADAPTER=Mysql
UNITTEST_DB_HOST=localhost
UNITTEST_DB_USERNAME=root
UNITTEST_DB_PASSWORD=root
UNITTEST_DB_DATABASE=jream_unit_test
# Redis Port is different in /etc/redis/redis.conf since docker images monkey with things
REDIS_DB=10
REDIS_HOST='localhost'
# Localhost (not working)
#REDIS_PORT=6300
# Server
REDIS_PORT=6379
# ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
# ____
# |__ /
# |_ \ [3] Email
# |___/
#
# ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
## NEW @TODO
EMAIL_NEWSLETTER=newsletter@jream.com
EMAIL_NEWSLETTER_NAME="JREAM Newsletter"
EMAIL_SUPPORT=support@jream.com
EMAIL_NEWSLETTER_NAME="JREAM Support"
EMAIL_NOTIFY=notify@jream.com
EMAIL_NEWSLETTER_NAME="JREAM Notification"
EMAIL_QUESTION=question@jream.com
EMAIL_QUESTION_NAME="JREAM Question"
EMAIL_DEFAULT=hello@jream.com
EMAIL_DEFAULT_NAME=JREAM
## OLD BELOW @TODO
EMAIL_FROM_ADDR=hello@jream.com
EMAIL_FROM_NAME=JREAM
EMAIL_TO_NAME=JREAM
EMAIL_QUESTION_ADDR=hello@jream.com
EMAIL_CONTACT_ADDR=hello@jream.com
# Sendgrid API Mail
# ───────────────────────────────────────────────────────────────────
SENDGRID_KEY=
# SparkPost API Mail
# ───────────────────────────────────────────────────────────────────
SPARKPOST_KEY=
# ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
# _ _
# | | |
# |_ _| [4] API: Payment Gateways
# |_|
#
# ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
# [API] LOCAL Payment Testing
# ───────────────────────────────────────────────────────────────────
STRIPE_KEY=pk_test_JofRelWDtYPIUF
STRIPE_SECRET=sk_test_cAzHkn9xbY0
DEV_STRIPE_KEY=pk_test_JofRelWDtY
DEV_STRIPE_SECRET=sk_test_cAzHkn9xbY
PAYPAL_USERNAME=sales-facilitator_api1.jream.com
PAYPAL_PASSWORD=1373987010
PAYPAL_SIGNATURE=AFcWxV21C7fd0v3bYYYRC
PAYPAL_TESTMODE=1
# [API] LIVE Payment Production
# ───────────────────────────────────────────────────────────────────
#STRIPE_KEY=pk_live_OuMdM8bv1YFRYUhYaUoOWRD5
#STRIPE_SECRET=sk_live_ymu8cf8WJlrpxpOIDWDxmt5w
#PAYPAL_USERNAME=sales_api1.jream.com
#PAYPAL_PASSWORD=G8DJSGCJUP25NLL3
#PAYPAL_SIGNATURE=AogZhlnprcyZu2GHGjV3zK0Y809OALKqtpKvhA-yQua1OtdP9zROASPF
#PAYPAL_TESTMODE=0
# ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
# ___
# | _|
# |_ | [5] API: Social Authentication
# |___|
#
# ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
# Facebook Login
# ───────────────────────────────────────────────────────────────────
FACEBOOK_CALLBACK_URL=https://jream1.ngrok.io/api/auth/facebook
FACEBOOK_APP_ID=476490792463576
FACEBOOK_APP_SECRET=d958afe0f92495d5afaf9cb40e7599d9
FACEBOOK_DEFAULT_GRAPH_VERSION=2.11
DEV_FACEBOOK_CALLBACK_URL=https://jream1.ngrok.io/api/auth/facebook
DEV_FACEBOOK_APP_ID=153437951953730
DEV_FACEBOOK_APP_SECRET=c1ea3bd602b3d6d5214dee4228f93527
DEV_FACEBOOK_DEFAULT_GRAPH_VERSION=2.11
# Google Login
# ───────────────────────────────────────────────────────────────────
GOOGLE_CALLBACK_URL=https://jream.com/api/auth/google # Must end with /
GOOGLE_CLIENT_ID=47782099548-jla0tgqchqlitqd1m7ba0ke20gbm4522.apps.googleusercontent.com
GOOGLE_CLIENT_SECRET=UP4NKjQ2XER6w9X4DzIJnyKm
GOOGLE_DEVELOPER_KEY=AIzaSyDvbgFZLtWeJaZ4SmupfkpR591ZNsDEygg
DEV_GOOGLE_CALLBACK_URL=https://jream1.ngrok.io/api/auth/google
DEV_GOOGLE_CLIENT_ID=
DEV_GOOGLE_CLIENT_SECRET=
DEV_GOOGLE_DEVELOPER_KEY=
# Github Login
# ───────────────────────────────────────────────────────────────────
GITHUB_CALLBACK_URL=https://jream.com/api/auth/github
GITHUB_CLIENT_ID=
GITHUB_CLIENT_SECRET=
DEV_GITHUB_CALLBACK_URL=https://jream1.ngrok.io/api/auth/github
DEV_GITHUB_CLIENT_ID=
DEV_GITHUB_CLIENT_SECRET=
# [MISC] GetSentry Logging
# ───────────────────────────────────────────────────────────────────
GET_SENTRY=https://uuid:uuidapp.getsentry.com/21558
# ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
# ___
# | _|
# | . | [6] API: AWS Resources
# |___|
#
# ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
# AWS: CloudFront
# Primarily for Streaming Media
# ───────────────────────────────────────────────────────────────────
AWS_CLOUDFRONT_VERSION=2017-03-25
AWS_CLOUDFRONT_REGION=us-east-1
AWS_CLOUDFRONT_URL=http://uuid.cloudfront.net/ # Keep trailing Slash
AWS_CLOUDFRONT_RMTP_URL=rtmp://sce0kcw2h3nxo.cloudfront.net/ # Keep Trailing Slash
AWS_CLOUDFRONT_KEYPAIR_ID=
# For Key Signing
AWS_CLOUDFRONT_EXPIRATION="+10 minutes"
# AWS: S3 (s3-jream) Simple Storage Service
# For Various Assets
# ───────────────────────────────────────────────────────────────────
AWS_S3_VERSION=2006-03-01
AWS_S3_REGION=us-east-1
AWS_S3_ACCESS_KEY=AKIAJDBYHDKAXGTS2JIA
AWS_S3_ACCESS_SECRET_KEY=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
# AWS: SQS (sqs-jream) Queue
# For Email Queue
# ───────────────────────────────────────────────────────────────────
AWS_SQS_VERSION=2012-11-05
AWS_SQS_REGION=us-east-1
AWS_SQS_ACCESS_KEY=AKIAIEF46GIFUT6KGSFQ
AWS_SQS_ACCESS_SECRET_KEY=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
# AWS: SNS (sns-jream) (Notifications)
# For Email Notification
# ───────────────────────────────────────────────────────────────────
AWS_SNS_VERSION=2010-03-31
AWS_SNS_REGION=us-east-1
AWS_SNS_ACCESS_KEY=AKIAJSWSVJR64B4QNEXA
AWS_SNS_ACCESS_SECRET_KEY=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
AWS_SNS_ARN_BOUNCE='arn:aws:sns:us-east-1:950584027081:ses-bounce-topic'
AWS_SNS_ARN_COMPLAINT='arn:aws:sns:us-east-1:950584027081:ses-complaint-topic'
AWS_SNS_ARN_DELIVERY='arn:aws:sns:us-east-1:950584027081:ses-delivery-topic'
# AWS: SES Credentials
# For Email Service
# ───────────────────────────────────────────────────────────────────
AWS_SES_HOST=email-smtp.us-east-1.amazonaws.com
AWS_SES_USERNAME=AKIAJM7KJZKDF7IZ74OQ
AWS_SES_PASSWORD=Ahp4DzceEGlXLcgWgtpfd1TB2mDQnrA3USqmu4C4inBY
AWS_SES_PORT=587 # Options: 25, 465, 587
# ───────────────────────────────────────────────────────────────────
# [*] ASCII for Re-use
# ───────────────────────────────────────────────────────────────────
#
# Font: "Rectangles"
#
# http://www.network-science.de/ascii/
#
# ───────────────────────────────────────────────────────────────────
# ___
#|_ |
# | |
# |_|
# ___
#| . |
#| . |
#|___|
# ___
#| . |
#|_ |
#|___|
#