-
Notifications
You must be signed in to change notification settings - Fork 1
/
.env.example
98 lines (84 loc) · 2.54 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
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
# Choose any random string for these env variables
# NOTE: In production, make sure they're really long, each unique and unguessable
MAGIC_LINK_SECRET=fake
COOKIE_SECRET=fake
INVITATION_TOKEN_SECRET=fake
API_TOKEN_SECRET=fake
# Get these from the Stripe dashboard
STRIPE_SECRET_API_KEY=fake
STRIPE_PRO_PLAN_PRICE_ID=fake
NEXT_PUBLIC_STRIPE_PUBLIC_API_KEY=fake
# Get the webhook endpoint secret from the Stripe CLI (started when running "docker-compose up")
STRIPE_WEBHOOK_ENDPOINT_SECRET=fake
# Get this from the Postmark dashboard
POSTMARK_API_TOKEN=fake
# Set this to whatever email you have configured in Postmark
# This is the URL for the local database started with "docker-compose up"
# NOTE: Only change this if you do not use docker-compose to run the database locally!
DATABASE_URL=''
# React Portal Names
NEXT_PUBLIC_EDIT_SIDEBAR_PORTAL_NAME="editSidebarPortal"
NEXT_PUBLIC_ASIDE_PORTAL_NAME="pageAsidePortal"
NEXT_PUBLIC_MAIN_PORTAL_NAME="pageMainPortal"
# Host
NEXT_PUBLIC_HOST_URL='http://localhost:3000'
# Next Auth Env Variables
NEXTAUTH_URL='http://localhost:3000'
# This public url in for the logout redirect to work, should normally be the same as nextauth_url
NEXT_PUBLIC_NEXTAUTH_URL='http://localhost:3000'
NEXTAUTH_SECRET='testtesttesttesttesttesttest'
# Github
NEXTAUTH_GITHUB_CLIENT_ID='test'
NEXTAUTH_GITHUB_CLIENT_SECRET='test'
# Gitlab
NEXTAUTH_GITLAB_CLIENT_ID='test'
NEXTAUTH_GITLAB_CLIENT_SECRET='test'
# Google
NEXTAUTH_GOOGLE_CLIENT_ID='test'
NEXTAUTH_GOOGLE_CLIENT_SECRET='test'
# Email (Postmark)
POSTMARK_API_TOKEN=
POSTMARK_SIGN_IN_TEMPLATE=
POSTMARK_ACTIVATION_TEMPLATE=
SMTP_HOST=smtp.postmarkapp.com
SMTP_PORT=25
SMTP_USER=
SMTP_PASSWORD=
SMTP_FROM=
# Mail Provider
EMAIL_SERVER=smtp://username:[email protected]:587
# S3 Provider
S3_ACCESS_ID=XXX
S3_ACCESS_KEY=XXX
S3_BUCKET_NAME=stagehq
S3_REGION=eu-central-1
# Public variables for url creation
NEXT_PUBLIC_S3_BUCKET_NAME=stagehq
NEXT_PUBLIC_S3_REGION=eu-central-1
#Email Marketing
MAILCHIMP_API_KEY=example
MAILCHIMP_ID=example
# Site tracking
SPLITBEE_TOKEN=example
# Invite Airtable
AIRTABLE_API_KEY=example
AIRTABLE_BASE_ID=example
# Encryption Key
PRISMA_FIELD_ENCRYPTION_KEY=''
## EXTENSIONS
# GitHub
NEXT_PUBLIC_GITHUB_CLIENT_ID=''
GITHUB_CLIENT_SECRET=''
# GitLab
NEXT_PUBLIC_GITLAB_CLIENT_ID=''
GITLAB_CLIENT_SECRET=''
# DevTo
NEXT_PUBLIC_DEVTO_CLIENT_ID=''
DEVTO_CLIENT_SECRET=''
# Medium
NEXT_PUBLIC_MEDIUM_CLIENT_ID=''
MEDIUM_CLIENT_SECRET=''
# Fetch all sites at build time
ALLOW_FETCH_ALL_SITES=boolean