-
Notifications
You must be signed in to change notification settings - Fork 2
/
.env.sample
19 lines (19 loc) · 1.27 KB
/
.env.sample
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
URL = "https://share.nnisarg.in" # Url of the hosted app
TEMP_FOLDER = "share_temp" # Folder where the files will stored temporarily
MAX_TEMP_FOLDER_SIZE = 50 # Maximum size of the temporary folder in GB (50GB)
DEFAULT_DEL_TIME = 3 # Time until files will be deleted in hours (3 hours)
MAX_CONTENT_LENGTH = 100 # Maximum file size allowed in MB (100MB)
MAX_DEL_TIME = 168 # Maximum time until files will be deleted in hours (24 hours)
UPLOAD_LOG_FILE = "upload.log" # Log file for uploads
ACCESS_LOG_FILE = "access.log" # Log file for access
MAX_LOG_ENTRIES = 500 # Maximum number of log entries for each log file
SMTP_SERVER = "smtp.gmail.com" # SMTP server url without the protocol and port
SMTP_PORT = 587 # SMTP port
SMTP_USERNAME = "[email protected]" # Replace with username
SMTP_FROM = "SWFT by Nnisarg Gada <[email protected]>" # Replace with your email
SMTP_PASSWORD = "yourpassword" # Replace with your email password
UMAMI_SRC = "https://umami.ls/script.js" # Replace with your Umami script src
UMAMI_ID = "your_website_id" # Replace with your Umami website id
UPLOAD_RATE_LIMIT = "5 per minute" # Replace with desired rate limit for uploading
DOWNLOAD_RATE_LIMIT = "10 per minute" # Replace with desired rate limit for downloading
STORAGE_URI = "memory://" # Storage URI for Flask Limiter