first commit
This commit is contained in:
61
.env.production.example
Normal file
61
.env.production.example
Normal file
@@ -0,0 +1,61 @@
|
||||
# Application Port Configuration
|
||||
PORT=8080
|
||||
|
||||
#########################
|
||||
# PostgreSQL Configuration
|
||||
DB_HOST=postgres
|
||||
DB_USER=postgres
|
||||
DB_PASSWORD=your_secure_password_here
|
||||
DB_NAME=gauth
|
||||
DB_PORT=5432
|
||||
DB_URL=host=postgres user=postgres password=your_secure_password_here dbname=gauth port=5432 sslmode=disable TimeZone=Europe/Istanbul
|
||||
|
||||
##########################
|
||||
# Redis Configuration
|
||||
REDIS_HOST=redis
|
||||
REDIS_PORT=6379
|
||||
REDIS_USER=default
|
||||
REDIS_PASSWORD=your_redis_password_here
|
||||
REDIS_URL=redis://redis:6379/0
|
||||
|
||||
###########################
|
||||
# JWT Secret
|
||||
JWT_SECRET=your_super_secret_jwt_key_change_this_in_production
|
||||
|
||||
###########################
|
||||
# Application URL
|
||||
APP_URL=https://yourdomain.com
|
||||
|
||||
###########################
|
||||
# OAuth - Google
|
||||
GOOGLE_CLIENT_ID=your_google_client_id
|
||||
GOOGLE_CLIENT_SECRET=your_google_client_secret
|
||||
|
||||
################################
|
||||
# OAuth - GitHub
|
||||
GITHUB_CLIENT_ID=your_github_client_id
|
||||
GITHUB_CLIENT_SECRET=your_github_client_secret
|
||||
|
||||
################################
|
||||
# OAuth Callback URL
|
||||
CLIENT_CALLBACK_URL=https://yourdomain.com/api/v1/auth
|
||||
|
||||
################################
|
||||
# Avatar Settings - WebP optimized
|
||||
AVATAR_H=150
|
||||
AVATAR_W=150
|
||||
AVATAR_Q=90
|
||||
AVATAR_B=cover
|
||||
AVATAR_F=webp
|
||||
|
||||
################################
|
||||
# Email Settings
|
||||
EMAIL_HOST=smtp.gmail.com
|
||||
EMAIL_PORT=587
|
||||
EMAIL_HOST_USER=your_email@gmail.com
|
||||
EMAIL_HOST_PASSWORD=your_app_password
|
||||
EMAIL_USE_TLS=true
|
||||
EMAIL_USE_SSL=false
|
||||
EMAIL_FROM=noreply@yourdomain.com
|
||||
|
||||
################################
|
||||
Reference in New Issue
Block a user