Clean up imports and .env variables

This commit is contained in:
Keannu Christian Bernasol 2024-08-30 15:46:30 +08:00
parent 71eda8a496
commit 658753dea4
4 changed files with 51 additions and 58 deletions

View file

@ -1,9 +1,11 @@
# Django
### Use https://djecrety.ir/ for generation!
# Use https://djecrety.ir/ for generation
SECRET_KEY = ''
# Production Switches
BACKEND_DEBUG = 'True'
USE_VAULT = 'False'
SERVE_MEDIA = 'False'
# Superuser Credentials
DJANGO_ADMIN_USERNAME = 'admin'
@ -23,7 +25,7 @@ EMAIL_USE_TLS = 'False'
EMAIL_ADDRESS = 'noreply-testing@drf-template.com'
# Database
### Have different credentials set on dev, staging, and prod!
# Have different credentials set on dev, staging, and prod
DB_DATABASE = 'drf-template'
DB_USERNAME = 'root'
DB_PASSWORD = ''
@ -32,7 +34,7 @@ DB_PORT = '5432'
DB_SSL_MODE = 'disable'
# Redis
### Used for DB cache and Celery broker
# Used for DB cache and Celery broker
REDIS_HOST = 'redis'
REDIS_PORT = '6379'
@ -44,16 +46,24 @@ CELERY_RESULT_BACKEND = 'redis://redis:6379/0'
STRIPE_SECRET_KEY = ''
STRIPE_SECRET_WEBHOOK = ''
BACKEND_DOMAIN = 'localhost:8000'
DOMAIN = 'localhost:4200'
USE_VAULT = 'False'
SERVE_MEDIA = 'False'
BACKEND_URL = 'localhost:8000'
FRONTEND_URL = 'localhost:4200'
USE_HTTPS = 'False'
DJANGO_PORT = '8000'
TIMEZONE = 'Asia/Manila'
# Cloud Storage
# No need to set these if you're not using S3
CLOUD_BUCKET = ''
MEDIA_CONTAINER = ''
STATIC_CONTAINER = ''
# Proxy (For Selenium)
USE_PROXY = 'False'
## IP-Whitelisted Proxy Address
# IP-Whitelisted Proxy Address
PROXY_IP_WHITELIST = 'proxy-here.com:12345'
## Username/Password Proxy Address
# Username/Password Proxy Address
PROXY_USER_AUTH = 'username:password@proxy-here.com:12345'
# CAPTCHA