You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: .env.example
+54-11Lines changed: 54 additions & 11 deletions
Original file line number
Diff line number
Diff line change
@@ -30,6 +30,8 @@
30
30
# - PROJECT_NAME: Application name, can be anything you like
31
31
# - APP_ENV: Deployment type: "local", "statiging" or "production"
32
32
# - APP_URL: Public URL to access the web interface
33
+
# - APP_TRUSTED_PROXIES: Comma separated list of trusted proxy IP addresses (e.g. "10.0.1.11", or "10.0.1.11,10.0.1.12" for multiple proxies).
34
+
# This is important if you are using a reverse proxy in front of HAWKI, to ensure that the application can correctly determine the client's IP address and other request information.
33
35
# - APP_DEBUG: Enable debug output: "true" or "false"
34
36
# - APP_TIMEZONE: Timezone of the web server
35
37
# - APP_LOCALE: Language of the user interface
@@ -44,6 +46,7 @@ APP_NAME="HAWKI2"
44
46
PROJECT_NAME="HAWKI2"
45
47
46
48
APP_URL="http://127.0.0.1:8000"
49
+
#APP_TRUSTED_PROXIES=
47
50
APP_ENV="local"
48
51
APP_DEBUG="false"
49
52
APP_TIMEZONE="CET"
@@ -118,6 +121,27 @@ HAWKI_NAME='HAWKI'
118
121
HAWKI_USERNAME='HAWKI'
119
122
HAWKI_AVATAR='hawkiAvatar.jpg'
120
123
124
+
# ==========================
125
+
# SECURITY SETTINGS
126
+
# ==========================
127
+
#
128
+
# Application-level security configuration.
129
+
#
130
+
# APP_SECURITY_PASSKEY_ALLOW_PASTE
131
+
# Controls clipboard operations for passkey input fields.
132
+
# When true (default): Allows paste from password managers and enables copy/cut to clipboard.
133
+
# When false: Blocks all clipboard operations (paste, copy, and cut) for maximum security.
134
+
# Note: Passkeys are used as direct cryptographic input, so clipboard behavior affects key derivation.
135
+
#
136
+
# APP_SECURITY_PASSKEY_CHAR_LIMITATION
137
+
# Restricts allowed characters for passkey input.
138
+
# When true (default): Only allows [A-Za-z0-9!@#$%^&*()_+-] to ensure deterministic
139
+
# cryptographic key derivation across browsers, devices, and language runtimes.
140
+
# When false: Allows any characters (use with caution as this may affect key compatibility).
# Because the default value in config/database.php is "lavarel" which is less clear and
162
186
# could at least in theory already be in use by other applications.
163
187
#
164
-
# - DB_CONNECTION: Database server type: "mysql", "sqlite", "mariadb", "pgsql", "sqlsrv" (see config/database.php)
165
-
# - DB_BACKUP_INTERVAL Interval in which the database in being backed up: "daily", "weekly", "monthly", etc.
166
-
# - DB_URL: Database connection URL (instead of host and port)
167
-
# - DB_HOST: Database server host name
168
-
# - DB_PORT: Database server port number
169
-
# - DB_SOCKET: Unix domain socket instead of URL, host and port (MySQL and MariaDB only)
170
-
# - DB_DATABASE: Database name (please change!)
171
-
# - DB_USERNAME: Username to access the database server
172
-
# - DB_PASSWORD: Password to access the database server
173
-
# - DB_CHARSET: Character encoding of the database
174
-
# - DB_COLLATION: Database collation (MySQL and MariaDB only)
188
+
# A WORD ON BACKUPS: For various reasons, if you are running in a Docker environment,
189
+
# the DB_BACKUP feature is disabled and will throw an error if you try to enable it.
190
+
# Use the dump solution of your database container instead, and make sure to back up the database volume regularly.
191
+
#
192
+
# - DB_CONNECTION: Database server type: "mysql", "sqlite", "mariadb", "pgsql", "sqlsrv" (see config/database.php)
193
+
# - DB_BACKUP_INTERVAL Interval in which the database in being backed up: "daily", "weekly", "monthly", etc. Can be "never" to disable automatic backups.
194
+
# - DB_BACKUP_INTERVAL_ARGS Some intervals accept additional constraints, e.g. "20:00" for "dailyAt" or "sunday" and "12:31" for "weeklyOn"
195
+
# See more details at: \Illuminate\Console\Scheduling\ManagesFrequencies
196
+
# As value you can pass either a single string value, or a single numeric value (e.g. "20:00" or "20")
197
+
# Or an JSON array to pass multiple values (e.g. ["sunday", "12:31"] or ["20:00", "wednesday", "15:00"])
198
+
# Example: DB_BACKUP_INTERVAL="cron", DB_BACKUP_INTERVAL_ARGS="0 0 * * *" for daily backup at midnight,
199
+
# or DB_BACKUP_INTERVAL="dailyAt", DB_BACKUP_INTERVAL_ARGS="20:00" for daily backup at 8pm,
200
+
# or DB_BACKUP_INTERVAL="daysOfMonth", DB_BACKUP_INTERVAL_ARGS="[1, 13, 28]" for backup on the 1st, 13th and 28th of each month, etc.
201
+
# - DB_BACKUP_DUMPER_BINARY_DIR By Default we are using "mysqldump" for MySQL/MariaDB, however if, on your machine the binary is not in the PATH,
202
+
# you can specify the path to the directory containing the binary here.
203
+
# - DB_URL: Database connection URL (instead of host and port)
204
+
# - DB_HOST: Database server host name
205
+
# - DB_PORT: Database server port number
206
+
# - DB_SOCKET: Unix domain socket instead of URL, host and port (MySQL and MariaDB only)
207
+
# - DB_DATABASE: Database name (please change!)
208
+
# - DB_USERNAME: Username to access the database server
209
+
# - DB_PASSWORD: Password to access the database server
210
+
# - DB_ROOT_PASSWORD: The password of the root user of the database server.
211
+
# - DB_CHARSET: Character encoding of the database
212
+
# - DB_COLLATION: Database collation (MySQL and MariaDB only)
175
213
176
214
DB_CONNECTION="mysql"
177
215
DB_BACKUP_INTERVAL="daily"
216
+
DB_BACKUP_INTERVAL_ARGS=
217
+
DB_BACKUP_DUMPER_BINARY_DIR=
178
218
179
219
## SQlite
180
220
#DB_URL =
@@ -189,6 +229,7 @@ DB_SOCKET=
189
229
DB_DATABASE=
190
230
DB_USERNAME="root"
191
231
DB_PASSWORD="root"
232
+
DB_ROOT_PASSWORD="root"
192
233
#DB_CHARSET = utf8mb4
193
234
#DB_COLLATION = utf8mb4_unicode_ci
194
235
#MYSQL_ATTR_SSL_CA =
@@ -504,6 +545,7 @@ TEST_USER_LOGIN="true"
504
545
# OIDC_CLIENT_SECRET: Client secret for the OIDC application
505
546
# OIDC_LOGOUT_URI: URI for OIDC logout
506
547
# OIDC_SCOPES: Scopes define the level of access that the client is requesting from the authorization server.
548
+
# OIDC_PKCE_METHOD: The code challenge method for PKCE (Proof Key for Code Exchange). Set to 'S256' to enable PKCE with SHA-256, or leave empty/null to disable.
0 commit comments