-
Notifications
You must be signed in to change notification settings - Fork 0
/
.env.template
43 lines (35 loc) · 1.3 KB
/
.env.template
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
# Environment Configuration
NODE_ENV="development" # Options: 'development', 'production'
PORT="8080" # The port your server will listen on
HOST="localhost" # Hostname for the server
# Sharded frontend and backend envs
VITE_BACKEND_URL=http://localhost:3003
VITE_FRONTEND_URL=http://localhost:5173/
JWT_TOKEN_SECRET=secret
JWT_ORIGIN="boilerplate"
# In Seconds
ACCESS_TOKEN_EXPIRY=960
REFRESH_TOKEN_EXPIRY=2592000
EMAIL_VERIFICATION_TOKEN_EXPIRY=86400
EMAIL_VERIFICATION_RESEND_INTERVAL=20
PASSWORT_RESET_TOKEN_EXPIRY=86400
CONNECT_GOOGLE_ACCOUNT_TOKEN_EXPIRY=86400
SMTP_HOST="smtp.ethereal.email"
SMTP_PORT=587
SMTP_USER="[email protected]"
SMTP_PASSWORD="top-secret"
IMPRINT_CONTACT_1="Your Name"
IMPRINT_CONTACT_2="Street, House Number"
IMPRINT_CONTACT_3="City"
IMPRINT_CONTACT_4="E-Mail"
IMPRINT_COPYRIGHT="Your Name ©"
# You can add more social media links by incrementing the number
SOCIAL_1_NAME="GitHub" # There needs to be a {SOCIAL_1_NAME}.png in the mail/templates/images folder
SOCIAL_1_URL="https://github.com/your-github-username"
STORAGE_TYPE="s3" # Options: 'local', 's3'
FILE_SYSTEM_STORAGE_PATH="/path/to/your/storage"
S3_ACCESS_KEY_ID=your_access_key
S3_SECRET_ACCESS_KEY=your_secret_key
S3_BUCKET_NAME=your_bucket_name
S3_ENDPOINT=your_s3_compatible_endpoint
S3_REGION=auto