-
Notifications
You must be signed in to change notification settings - Fork 27
Expand file tree
/
Copy pathenv
More file actions
129 lines (112 loc) · 5.15 KB
/
Copy pathenv
File metadata and controls
129 lines (112 loc) · 5.15 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
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
#--------------------------------------------------------------------
# Example Environment Configuration file
#
# This file can be used as a starting point for your own
# custom .env files, and contains most of the possible settings
# available in a default install.
#
# By default, all of the settings are commented out. If you want
# to override the setting, you must un-comment it by removing the '#'
# at the beginning of the line.
#--------------------------------------------------------------------
#--------------------------------------------------------------------
# ENVIRONMENT
#--------------------------------------------------------------------
CI_ENVIRONMENT = development
#--------------------------------------------------------------------
# APP
#--------------------------------------------------------------------
# EXTPLORER_BASE_URL = 'https://files.example.com/'
# EXTPLORER_WRITE_PATH = '/var/lib/extplorer/writable'
# EXTPLORER_FILE_MANAGER_ROOT = '/var/lib/extplorer/writable/file_manager_root'
# EXTPLORER_STATE_DRIVER = 'file' # file, sqlite or database
# EXTPLORER_SESSION_DRIVER = 'file' # file, database or redis
# EXTPLORER_CACHE_DRIVER = 'file' # file, redis or dummy
# EXTPLORER_CACHE_PREFIX = 'extplorer_' # portable cache-key namespace
# EXTPLORER_MAX_DOWNLOAD_MB = 2048
# EXTPLORER_MAX_CONTENT_MB = 16
# EXTPLORER_REMOTE_TIMEOUT_SECONDS = 15
# EXTPLORER_MAX_DIRECTORY_ENTRIES = 10000
# EXTPLORER_MAX_SEARCH_RESULTS = 10000
# EXTPLORER_MAX_OPERATION_SECONDS = 120
# EXTPLORER_WEBDAV_MAX_DEPTH = 1
# EXTPLORER_ARCHIVE_MAX_ENTRIES = 100000
# EXTPLORER_ARCHIVE_MAX_EXPANDED_MB = 2048
# EXTPLORER_ARCHIVE_MAX_RATIO = 200
# EXTPLORER_IMAGE_MAX_MB = 25
# EXTPLORER_IMAGE_MAX_PIXELS = 40000000
# EXTPLORER_BACKUP_MAX_MB = 102400
# app.forceGlobalSecureRequests = false
# app.CSPEnabled = false
# EXTPLORER_TRUSTED_PROXY_IPS = '10.0.0.10,10.0.0.0/24' # never use 0.0.0.0/0
# EXTPLORER_HSTS_MAX_AGE = 31536000
# EXTPLORER_HSTS_INCLUDE_SUBDOMAINS = 0
# EXTPLORER_SESSION_MATCH_IP = 0 # opt-in; can log users out when their IP changes
#--------------------------------------------------------------------
# DATABASE
#--------------------------------------------------------------------
# database.default.hostname = localhost
# database.default.database = ci4
# database.default.username = root
# database.default.password = root
# database.default.DBDriver = MySQLi
# database.default.DBPrefix =
# database.default.port = 3306
# EXTPLORER_DB_DRIVER = 'SQLite3' # SQLite3, MySQLi or Postgre
# EXTPLORER_DB_HOST = localhost
# EXTPLORER_DB_PORT = 3306
# EXTPLORER_DB_NAME = extplorer
# EXTPLORER_DB_USER = extplorer
# EXTPLORER_DB_PASSWORD_FILE = '/run/secrets/extplorer-db-password'
# EXTPLORER_DB_CHARSET = utf8mb4 # PostgreSQL defaults to utf8 automatically
# EXTPLORER_DB_COLLATION = utf8mb4_general_ci # Leave empty for PostgreSQL/SQLite
# EXTPLORER_DB_PREFIX = ''
# EXTPLORER_SESSION_TABLE = ci_sessions
# If you use MySQLi as tests, first update the values of Config\Database::$tests.
# database.tests.hostname = localhost
# database.tests.database = ci4_test
# database.tests.username = root
# database.tests.password = root
# database.tests.DBDriver = MySQLi
# database.tests.DBPrefix =
# database.tests.charset = utf8mb4
# database.tests.DBCollat = utf8mb4_general_ci
# database.tests.port = 3306
#--------------------------------------------------------------------
# ENCRYPTION
#--------------------------------------------------------------------
# EXTPLORER_ENCRYPTION_KEY_FILE = '/run/secrets/extplorer-encryption-key'
# EXTPLORER_ENCRYPTION_KEY =
#--------------------------------------------------------------------
# ADMINISTRATION
#--------------------------------------------------------------------
# EXTPLORER_ADMIN_USER = 'admin'
# EXTPLORER_ADMIN_PASSWORD_FILE = '/run/secrets/extplorer-admin-password'
# EXTPLORER_ADMIN_RESET_PASSWORD = 0
# EXTPLORER_UPLOAD_MAX_FILE_MB = 100
# Remote connections are disabled unless explicitly enabled and allowlisted.
# Use one exact endpoint per line, including protocol and port.
# EXTPLORER_REMOTE_LOGIN_ENABLED = 0
# EXTPLORER_REMOTE_ENDPOINT_ALLOWLIST = 'sftp://files.example.com:22'
# EXTPLORER_REMOTE_ALLOW_PRIVATE_TARGETS = 0
# EXTPLORER_REMOTE_SECURITY_MODE = 'strict' # strict or compat
# EXTPLORER_FTPS_CA_FILE = '/etc/ssl/certs/ca-certificates.crt'
# Upload quarantine. In external mode uploads stay private until a worker
# marks them clean with: php spark uploads:scan-result ID clean.
# EXTPLORER_UPLOAD_SCAN_MODE = 'off' # off or external
# EXTPLORER_UPLOAD_QUARANTINE_MAX_MB = 2048
# EXTPLORER_UPLOAD_QUARANTINE_MAX_FILES = 1000
# EXTPLORER_UPLOAD_QUARANTINE_TTL_SECONDS = 86400
#--------------------------------------------------------------------
# SESSION
#--------------------------------------------------------------------
# session.driver = 'CodeIgniter\Session\Handlers\FileHandler'
# session.savePath = null
# EXTPLORER_REDIS_HOST = 127.0.0.1
# EXTPLORER_REDIS_PORT = 6379
# EXTPLORER_REDIS_PASSWORD_FILE = '/run/secrets/extplorer-redis-password'
# EXTPLORER_REDIS_DATABASE = 0
#--------------------------------------------------------------------
# LOGGER
#--------------------------------------------------------------------
# logger.threshold = 4