This repository has been archived by the owner on Nov 16, 2024. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathsample.env
66 lines (46 loc) · 1.62 KB
/
sample.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
VITE_HOSTNAME=
# Optional, 3000 will be used by default for the docker container
# Vite will still use 5173 by default
APP_PORT=
# Optional, 127.0.0.1 will be used by default
VITE_DB_HOST=
# Optional, 8888 will be used by default
PGADMIN_FORWARD_PORT=
# Required, the default email address to be used with pgAdmin
PGADMIN_DEFAULT_EMAIL=
# Optional, "chatter" will be used by default
VITE_DB_USER=
# Optional, but pls change. "chatter" will be used by default
VITE_DB_PASSWORD=
# Optional, "chatter" will be used by default
VITE_DB_DATABASE=
# Optional, 5432 will be used by default
VITE_DB_FORWARD_PORT=
# Required ("true", "false", "1", "0" are allowed)
PUBLIC_EMAIL_VERIFICATION=false
# Email verification token expiration in minutes
EMAIL_VERIFICATION_EXPIRATION=10
# Email verification token expiration in minutes
PASSWORD_RESET_EXPIRATION=10
# SMTP Configuration
# Required for password reset/email verification
SMTP_USERNAME=
SMTP_PASSWORD=
SMTP_SERVER=
SMTP_PORT=465
# Form validation
PUBLIC_MIN_PASSWORD_LENGTH=8
PUBLIC_MAX_PASSWORD_LENGTH=64
PUBLIC_MIN_NAME_LENGTH=2
PUBLIC_MAX_NAME_LENGTH=255 # Update src/lib/db/schema.ts accordingly
PUBLIC_MIN_EMAIL_LENGTH=5
PUBLIC_MAX_EMAIL_LENGTH=255 # Update src/lib/db/schema.ts accordingly
# Rate limiting. Set it to a strong, random secret
RATE_LIMIT_SECRET="My5trongR@t3LimitingS3cret!"
# Other limits
# Optional, defaults to 100
PUBLIC_MAX_CHATS=
# Optional, defaults to 25. Includes both deleted (in trash) and available accounts
PUBLIC_MAX_ACCOUNTS=
# Required, the default email address to be used with Wizard Tower (Admin Panel)