crm-backend/.env.example
2026-06-09 17:38:33 +03:30

28 lines
No EOL
1.3 KiB
Text

SECRET_KEY=change-me
DEBUG=True
DJANGO_SETTINGS_MODULE=config.settings.local
ALLOWED_HOSTS=localhost,127.0.0.1,0.0.0.0
CSRF_TRUSTED_ORIGINS=
CORS_ALLOWED_ORIGINS=http://localhost:3000,http://127.0.0.1:3000
CORS_ALLOW_CREDENTIALS=True
TIME_ZONE=UTC
DATABASE_URL=sqlite:///db.sqlite3
DRF_PAGE_SIZE=20
DRF_ANON_THROTTLE_RATE=100/hour
DRF_USER_THROTTLE_RATE=1000/hour
SERVICE_REQUEST_TIMEOUT=30
OAUTH2_PROVIDER_PUBLIC_URL=https://accounts.gooyal.ir/oauth2
OAUTH2_PROVIDER_PRIVATE_URL=https://accounts.gooyal.ir/oauth2
OAUTH2_CLIENT_ID=sample1
OAUTH2_CLIENT_SECRET=sample2
# OAUTH2_SCOPES=profile email phone accounts.profile:inquiry accounts.profile:detailed_retrieve accounts.profile:retrieve
OAUTH2_PROVIDER_BASE_PUBLIC_URL=https://accounts-staging.gooyal.ir/oauth2
OAUTH2_PROVIDER_BASE_PRIVATE_URL=https://accounts-staging.gooyal.ir/oauth2
OAUTH2_PROVIDER_CLIENT_ID=sample1
OAUTH2_PROVIDER_CLIENT_SECRET=sample2
OAUTH2_PROVIDER_SCOPES=accounts.profile:retrieve accounts.profile:detailed_retrieve application.crm.message:retrieve
ACCOUNTS_BASE_PUBLIC_URL=https://accounts-staging.gooyal.ir
WALLET_BASE_PUBLIC_URL=https://wallet-staging.gooyal.ir
WALLET_RIAL=af7d967f-30c0-409b-9066-2549f2da5e5e
WALLET_REWARD=e7c9d4d1-4d1f-43b2-96f7-4d4a168f480d
ADVERTISING_BASE_PUBLIC_URL=https://advertising-staging.winsoo.ir