forked from adocasts/adocasts
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.env.example
68 lines (59 loc) · 1.65 KB
/
.env.example
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
TZ=UTC
PORT=3334
HOST=0.0.0.0
NODE_ENV=development
APP_BRAND=Adocasts
APP_LOGO=/imgs/logo-white.svg
APP_LOGO_INV=/imgs/logo-black.svg
APP_DOMAIN=http://localhost:${PORT}
APP_KEY=dYmMU1KGTXhI0cmAHHAZi-scEf17PNG-
DRIVE_DISK=local # production uses gcs
SESSION_DRIVER=cookie
CACHE_VIEWS=false
LOG_LEVEL=info
# add your Postgres details, note I use a separate db for tests
DB_CONNECTION=postgres
DB_HOST=localhost
DB_PORT=5432
DB_USER=lucid
DB_PASSWORD=
DB_DATABASE=lucid
# I use mailtrap.io locally https://mailtrap.io/
SMTP_HOST=
SMTP_PORT=
SMTP_USERNAME=<username>
SMTP_PASSWORD=<password>
# Install Redis (optional) and enable and plug details in here
REDIS_ENABLED=false
REDIS_CONNECTION=local
REDIS_HOST=127.0.0.1
REDIS_PORT=6379
REDIS_PASSWORD=
# production vars. they're in the env.ts for production safety, DRIVE_DISK=local should bypass these locally
GCS_KEY_FILENAME=./google-cloud-key.json
GCS_BUCKET=adocasts
# social authentication (unless you intend to use them locally, you can ignore)
GITHUB_CLIENT_ID=
GITHUB_CLIENT_SECRET=
GOOGLE_CLIENT_ID=
GOOGLE_CLIENT_SECRET=
# Cloudflare Turnstile protection, you can ignore locally
TURNSTILE_ENABLED=false
TURNSTILE_SITE_KEY=<site_key>
TURNSTILE_SECRET_KEY=<secret_key>
# used on schedule page (you can ignore unless you need that page working)
NOTION_SECRET=<secret>
NOTION_VERSION=2022-06-28
NOTION_DB_SERIES=
NOTION_DB_MODULES=
NOTION_DB_POSTS=
# stripe
STRIPE_ENABLED=false
STRIPE_PUBLISHABLE_KEY=<publishable_key>
STRIPE_SECRET_KEY=<secret_key>
STRIPE_WEBHOOK_SECRET=<webhook_secret>
# not needed locally
DISCORD_WEBHOOK=<discord_webhook>
PLAUSIBLE_API_KEY=<api_key>
IDENTITY_SECRET=