preparing for try2 #mythical-man-month was right
This commit is contained in:
@@ -8,28 +8,58 @@ APP_PORT=8080
|
||||
APP_HOST=0.0.0.0
|
||||
|
||||
# Database
|
||||
DB_HOST=localhost
|
||||
DB_PORT=5433
|
||||
DB_HOST=ydn-db
|
||||
DB_PORT=5432
|
||||
DB_USER=ydn_user
|
||||
DB_PASSWORD=ydn_secure_password_change_me
|
||||
DB_NAME=ydn_db
|
||||
DB_SSLMODE=disable
|
||||
DB_SSLMODE=require
|
||||
|
||||
# JWT
|
||||
JWT_SECRET=dev_jwt_secret_change_me_in_production_make_it_long_and_random_32_chars
|
||||
JWT_SECRET=$(openssl rand -base64 32 | tr -d '012345678901234567890' | base64)
|
||||
JWT_EXPIRY=24h
|
||||
|
||||
# Stripe Configuration
|
||||
STRIPE_PUBLIC_KEY=pk_test_dev_key_change_me
|
||||
STRIPE_SECRET_KEY=sk_test_dev_key_change_me
|
||||
STRIPE_WEBHOOK_SECRET=whsec_dev_key_change_me
|
||||
STRIPE_PUBLIC_KEY=pk_test_your_stripe_public_key
|
||||
STRIPE_SECRET_KEY=sk_live_your_stripe_secret_key
|
||||
STRIPE_WEBHOOK_SECRET=whsec_your_stripe_webhook_secret
|
||||
STRIPE_PRICE_ID=price_1placeholder
|
||||
|
||||
# OVH Configuration
|
||||
OVH_ENDPOINT=ovh-eu
|
||||
OVH_APPLICATION_KEY=dev_ovh_app_key_change_me
|
||||
OVH_APPLICATION_SECRET=dev_ovh_app_secret_change_me
|
||||
OVH_CONSUMER_KEY=dev_ovh_consumer_key_change_me
|
||||
OVH_APPLICATION_KEY=$OVH_APPLICATION_KEY
|
||||
OVH_APPLICATION_SECRET=$OVH_APPLICATION_SECRET
|
||||
OVH_CONSUMER_KEY=$OVH_CONSUMER_KEY
|
||||
|
||||
# Cloudron Configuration
|
||||
CLOUDRON_API_VERSION=v1
|
||||
CLOUDRON_INSTALL_TIMEOUT=1800
|
||||
|
||||
# Dolibarr Configuration
|
||||
DOLIBARR_URL=http://ydn-dolibarr
|
||||
DOLIBARR_API_TOKEN=$DOLIBARR_API_TOKEN
|
||||
|
||||
# Email Configuration (for notifications)
|
||||
SMTP_HOST=smtp.gmail.com
|
||||
SMTP_PORT=587
|
||||
SMTP_USER=your_email@gmail.com
|
||||
SMTP_PASSWORD=your_app_password
|
||||
SMTP_FROM=noreply@yourdreamnamehere.com
|
||||
|
||||
# Redis (for sessions)
|
||||
REDIS_HOST=ydn-redis
|
||||
REDIS_PORT=6379
|
||||
REDIS_PASSWORD=redis_password_change_me
|
||||
REDIS_DB=0
|
||||
|
||||
# Logging
|
||||
LOG_LEVEL=info
|
||||
LOG_FORMAT=json
|
||||
|
||||
# Security
|
||||
CORS_ORIGINS=http://localhost:3000,https://yourdreamnamehere.com
|
||||
RATE_LIMIT_REQUESTS=100
|
||||
RATE_LIMIT_WINDOW=1m
|
||||
|
||||
# Cloudron Configuration
|
||||
CLOUDRON_API_VERSION=v1
|
||||
|
||||
Reference in New Issue
Block a user