-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.env.sample
90 lines (65 loc) · 2.63 KB
/
.env.sample
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
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
# directus service
# https://docs.directus.io/self-hosted/config-options.html#security
KEY=255d861b-5ea1-5996-9aa3-922530ec40b1
SECRET=6116487b-cda1-52c2-b5b5-c8022c45e263
# (see https://docs.directus.io/self-hosted/config-options#general)
PUBLIC_URL=http://localhost:8055
MAX_PAYLOAD_SIZE=2mb
# https://docs.directus.io/self-hosted/config-options.html#websockets
WEBSOCKETS_ENABLED=true
# https://docs.directus.io/self-hosted/config-options.html#admin-account
ADMIN_PASSWORD=admin
# https://docs.directus.io/self-hosted/config-options.html#cors
CORS_ENABLED=true
CORS_ORIGIN=["http://localhost:3000","http://127.0.0.1:3000"]
# https://docs.directus.io/self-hosted/config-options.html#cache
# currently, enable cache may causing problems.
CACHE_ENABLED=false
CACHE_STORE=redis
CONTENT_SECURITY_POLICY_DIRECTIVES__IMG_SRC=array:'self',data:,blob:,example.com,otherexample.com
CONTENT_SECURITY_POLICY_DIRECTIVES__SCRIPT_SRC=array:'self','unsafe-eval','unsafe-inline'
TELEMETRY=false
# https://docs.directus.io/self-hosted/config-options.html#redis
REDIS='redis://cache:6379'
# REDIS='redis://localhost:6379'
# https://docs.directus.io/self-hosted/config-options.html#file-storage
STORAGE_LOCATIONS="local"
# multiple storage example
# STORAGE_LOCATIONS="supabase,local"
# STORAGE_LOCAL_DRIVER="local"
# STORAGE_SUPABASE_ROOT=myfolder
# STORAGE_SUPABASE_DRIVER=supabase
# STORAGE_SUPABASE_SERVICE_ROLE=tobemodified
# STORAGE_SUPABASE_BUCKET=tobemodified
# STORAGE_SUPABASE_PROJECT_ID=tobemodified
# database service (https://docs.directus.io/self-hosted/config-options.html#database)
# DB_CONNECTION_STRING=
DB_CLIENT=pg
DB_HOST=database
# DB_HOST=localhost
DB_PORT=5432
DB_DATABASE=directus
DB_USER=directus
DB_PASSWORD=directus
DB_SSL=false
# external Database connection info(neon) if not using docker database service.
# DB_CLIENT=pg
# DATABASE_CONNECTION_STRING=tobemodifi
# https://docs.directus.io/self-hosted/config-options.html#extensions
EXTENSIONS_AUTO_RELOAD=true
# Docker compose variables
# COMPOSE_PROJECT_NAME=directus
DOCKER_DIRECTUS_CONTAINER_NAME=directus
DOCKER_DIRECTUS_CUSTOM_IMAGE_NAME=directus_custom
DOCKER_DIRECTUS_VERSION=10.9.3
DOCKER_DIRECTUS_FILES=./uploads
DOCKER_DIRECTUS_EXTENSIONS=./extensions
DOCKER_DIRECTUS_SNAPSHOTS=./snapshots
DOCKER_DIRECTUS_DB_CONTAINER_NAME=directus_db
DOCKER_DIRECTUS_DB_IMAGE=postgis/postgis
DOCKER_DIRECTUS_DB_VERSION=13-master
DOCKER_DIRECTUS_DB_FILES=./data
DOCKER_DIRECTUS_REDIS_CONTAINER_NAME=directus_redis
DOCKER_DIRECTUS_NETWORKNAME=directus
DOCKER_DIRECTUS_EXTERNAL_NETWORK=false