-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
69 lines (49 loc) · 1.85 KB
/
.env.example
File metadata and controls
69 lines (49 loc) · 1.85 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
####################################################################################################
## General
#HOST="http://127.0.0.1:8056"
PORT=8056
PUBLIC_URL="http://localhost:8056"
####################################################################################################
## Database
DB_CLIENT="pg"
DB_HOST="127.0.0.1"
DB_PORT="5432"
DB_DATABASE="directus_learn"
DB_USER="postgres"
DB_PASSWORD="postgres"
DB_SSL="false"
####################################################################################################
## Rate Limiting
RATE_LIMITER_ENABLED=false
RATE_LIMITER_STORE=memory
RATE_LIMITER_POINTS=25
RATE_LIMITER_DURATION=1
####################################################################################################
## Cache
CACHE_ENABLED=false
####################################################################################################
## File Storage
STORAGE_LOCATIONS="local"
STORAGE_LOCAL_DRIVER="local"
STORAGE_LOCAL_ROOT="./uploads"
####################################################################################################
## Security
KEY="0089ff98-3631-4106-a4a0-ca4e70ec11cb"
SECRET="cQSN6sx5e272xBVVg4OaEnKCLZXi3yDr"
ACCESS_TOKEN_TTL="15m"
REFRESH_TOKEN_TTL="7d"
REFRESH_TOKEN_COOKIE_SECURE=false
REFRESH_TOKEN_COOKIE_SAME_SITE="lax"
REFRESH_TOKEN_COOKIE_NAME="directus_refresh_token"
####################################################################################################
## Auth Providers
AUTH_PROVIDERS=""
####################################################################################################
## Extensions
EXTENSIONS_PATH="./extensions"
####################################################################################################
## Email
EMAIL_TRANSPORT="sendmail"
EMAIL_SENDMAIL_NEW_LINE="unix"
EMAIL_SENDMAIL_PATH="/usr/sbin/sendmail"