-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy path.env
86 lines (69 loc) · 2.74 KB
/
.env
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
# Connection URL for Mongoose
# See https://mongoosejs.com/docs/index.html
MONGODB_URI = "mongodb://localhost:27017"
MONGODB_DATABASE = "swimming"
# In case you want to use ACID transactions, follow this doc:
# https://mongoosejs.com/docs/transactions.html
DATABASE_TRANSACTIONS = false
# Enable/Disable Swagger UI API Documentation
API_DOCUMENTATION_ENABLED = true
# Tenant Mode
# multi: Allow new users to create new tenants.
# multi-with-subdomain: Same as multi, but enable access to the tenant via subdomain.
# single: One tenant, the first user to register will be the admin.
TENANT_MODE = "multi"
# Secret used to Sign the JWT (Authentication) tokens.
AUTH_JWT_SECRET = "dbf043cc-7fb1-4f73-9840-74ddf4fd8935"
# How long the JWT (Authentication) token takes to expire.
AUTH_JWT_EXPIRES_IN = "7 days"
# Configuration to allow email sending used on:
# backend/src/services/emailSender.js
SENDGRID_EMAIL_FROM = ""
SENDGRID_KEY = ""
SENDGRID_TEMPLATE_EMAIL_ADDRESS_VERIFICATION = ""
SENDGRID_TEMPLATE_INVITATION = ""
SENDGRID_TEMPLATE_PASSWORD_RESET = ""
# Frontend Url.
# Ex.: http://localhost:<port>
FRONTEND_URL = "http://localhost:<port>"
# Frontend URL with the subdomain for tenants.
# Works only for tenantMode=multi-with-subdomain
# Please use the variable [subdomain] on this URL.
FRONTEND_URL_WITH_SUBDOMAIN = "http://[subdomain].localhost:<port>"
# Backend URL with /api
# Ex.: http://localhost:8080/api
BACKEND_URL = "http://localhost:8080/api"
# Plan payments configuration
PLAN_STRIPE_SECRET_KEY = ""
PLAN_STRIPE_WEBHOOK_SIGNING_SECRET = ""
PLAN_STRIPE_PRICES_GROWTH = ""
PLAN_STRIPE_PRICES_ENTERPRISE = ""
# File Storage Provider
# localhost
# gcp (Google Cloud Platform)
# aws (Amazon Web Services)
FILE_STORAGE_PROVIDER = "localhost"
FILE_STORAGE_PATH = "{APP_ROOT}/uploads"
# Bucket used for file storage
# Only for GCP and AWS
FILE_STORAGE_BUCKET = ""
# Only needed if using gcp as the File storage provider
# If you are deploying on Google Cloud environment, you don't need to set this variable,
# because the configs will be fetch from the platform
GOOGLE_CLOUD_PLATFORM_CREDENTIALS = ""
# Only needed if using aws as the File storage provider
AWS_ACCESS_KEY_ID = ""
AWS_SECRET_ACCESS_KEY = ""
AWS_REGION=""
# OAuth Social Sign-in/Sign-up
AUTH_SOCIAL_GOOGLE_CLIENT_ID = ""
AUTH_SOCIAL_GOOGLE_CLIENT_SECRET = ""
AUTH_SOCIAL_GOOGLE_CALLBACK_URL = "http://localhost:8080/api/auth/social/google/callback"
AUTH_SOCIAL_FACEBOOK_CLIENT_ID = ""
AUTH_SOCIAL_FACEBOOK_CLIENT_SECRET = ""
AUTH_SOCIAL_FACEBOOK_CALLBACK_URL = "http://localhost:8080/api/auth/social/facebook/callback"
# Type Form Parameters
TYPE_FORM = true
TYPE_FORM_URL = "https://api.typeform.com"
TYPE_FORM_ID = "G7b7ZDFa"
TYPE_FORM_API_TOKEN = "tfp_6q7q94PETEAPod3tRhqdcwo6UUPznB2T6sMpDhB1rnwc_3mJr74CXve2W7m"