[rewrite] Major changes to code - switched to postgres, added initial backend docker files
This commit is contained in:
1 parent
c7e20fc935
commit
71e916586e
52 files changed
+783
-537
No files matched your search
@@ -0,0 +1,51 @@
|
||||
# Port for the app to run on
|
||||
# PORT=31714
|
||||
|
||||
# Secret key used for cryptographic operations. Must be a long, random string.
|
||||
SECRET_KEY=
|
||||
|
||||
# Token expiration time in minutes. Default is 8 days (60 min * 24 hours * 8 days).
|
||||
# ACCESS_TOKEN_EXPIRE_MINUTES=11520
|
||||
|
||||
# The environment in which the application is running.
|
||||
# Options: local, staging, production
|
||||
ENVIRONMENT=local
|
||||
|
||||
# The frontend host that interacts with the backend.
|
||||
FRONTEND_HOST=
|
||||
|
||||
# CORS origins allowed to access the backend.
|
||||
# Multiple values should be comma-separated, e.g., "http://localhost,http://example.com"
|
||||
BACKEND_CORS_ORIGINS=
|
||||
|
||||
# MySQL database configuration
|
||||
POSTGRES_SERVER=
|
||||
POSTGRES_PORT=3306
|
||||
POSTGRES_USER=
|
||||
POSTGRES_PASSWORD=
|
||||
POSTGRES_DB=
|
||||
|
||||
# SMTP configuration for sending emails
|
||||
SMTP_HOST=
|
||||
SMTP_PORT=587
|
||||
SMTP_USER=
|
||||
SMTP_PASSWORD=
|
||||
SMTP_TLS=True # Use TLS for email security
|
||||
SMTP_SSL=False # Set to True if using SSL instead of TLS
|
||||
|
||||
# Email sender information
|
||||
EMAILS_FROM_EMAIL=
|
||||
EMAILS_FROM_NAME=
|
||||
|
||||
# Expiration time for password reset tokens (in hours)
|
||||
# EMAIL_RESET_TOKEN_EXPIRE_HOURS=48
|
||||
|
||||
# A test user email used for automated email testing
|
||||
EMAIL_TEST_USER=test@example.com
|
||||
|
||||
# Superuser credentials for the first administrator
|
||||
FIRST_SUPERUSER=
|
||||
FIRST_SUPERUSER_PASSWORD=
|
||||
|
||||
DOCKER_IMAGE_BACKEND=backend
|
||||
DOCKER_IMAGE_FRONTEND=frontend
|
||||
Reference in new issue
Block a user