mirror of
https://github.com/directus/directus.git
synced 2026-01-24 16:17:55 -05:00
58 lines
1.4 KiB
Bash
58 lines
1.4 KiB
Bash
####################################################################################################
|
|
# General
|
|
|
|
PORT=3000
|
|
PUBLIC_URL="http://localhost:3000"
|
|
|
|
####################################################################################################
|
|
# Database
|
|
|
|
DB_CLIENT="pg"
|
|
DB_HOST="localhost"
|
|
DB_PORT=5432
|
|
DB_NAME="directus"
|
|
DB_USER="postgres"
|
|
DB_PASSWORD="psql1234"
|
|
|
|
####################################################################################################
|
|
# Auth
|
|
|
|
SECRET="abcdef"
|
|
ACCESS_TOKEN_EXPIRY_TIME="15m"
|
|
REFRESH_TOKEN_EXPIRY_TIME="7d"
|
|
SALT_ROUNDS=10
|
|
|
|
####################################################################################################
|
|
# SSO (oAuth) Providers
|
|
|
|
OAUTH_PROVIDERS="github,facebook"
|
|
|
|
OAUTH_GITHUB_KEY="abcdef"
|
|
OAUTH_GITHUB_SECRET="ghijkl"
|
|
OAUTH_FACEBOOK_KEY="abcdef"
|
|
OAUTH_FACEBOOK_SECRET="ghijkl"
|
|
|
|
####################################################################################################
|
|
# Extensions
|
|
|
|
EXTENSIONS_PATH="./extensions"
|
|
|
|
####################################################################################################
|
|
# Email
|
|
|
|
EMAIL_FROM="no-reply@directus.io"
|
|
EMAIL_TRANSPORT="sendmail"
|
|
|
|
## Email (Sendmail Transport)
|
|
EMAIL_SENDMAIL_NEW_LINE="unix"
|
|
EMAIL_SENDMAIL_PATH="/usr/sbin/sendmail"
|
|
|
|
## Email (SMTP Transport)
|
|
EMAIL_SMTP_POOL=true
|
|
EMAIL_SMTP_HOST="localhost"
|
|
EMAIL_SMTP_PORT=465
|
|
EMAIL_SMTP_SECURE=false # Use TLS
|
|
EMAIL_SMTP_USER="username"
|
|
EMAIL_SMTP_PASSWORD="password"
|
|
|