-
Notifications
You must be signed in to change notification settings - Fork 22
Expand file tree
/
Copy path.env.example
More file actions
337 lines (268 loc) · 9.37 KB
/
.env.example
File metadata and controls
337 lines (268 loc) · 9.37 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
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
###### APP SETTINGS ######
# APPLICATION NAME
# Not critical in Liman, you can leave it untouched.
APP_NAME=Liman
# APPLICATON ENVIRONMENT
# Changes Laravel application environment. Used for development purposes.
# Values: production, local
APP_ENV=production
# APPLICATION KEY
# Used for bcrypt2 hashing, it's generated automatically. You can leave it untouched.
APP_KEY=
# APPLICATION DEBUG MODE
# Raises Ignite error pages for Laravel
APP_DEBUG=false
# APPLICATION URL
# You can leave it untouched.
APP_URL=https://liman.dev
# APPLICATON NOTIFICATION EMAIL
# Changes the e-mail sender that's generated by Liman.
APP_NOTIFICATION_EMAIL=destek@liman.dev
# APPLICATION LANGUAGE
# Sets systemwide language of Liman application.
# Values: tr, en
APP_LANG=en
##### SYSTEM SETTINGS #####
# LARAVEL LOG LEVEL
LOG_LEVEL=debug
# LOG LEVEL
# Changes log level of Liman render engine.
# Values: 0 (Extended), 1 (Minimal), 2 (Extension Log), 3 (Extension Log with Details)
NEW_LOG_LEVEL=2
# EXTENSION DEVELOPER MODE
# Activates some extension development features like download, debug messages etc.
EXTENSION_DEVELOPER_MODE=false
# QUEUE DRIVER
# Liman queue driver mode, you can leave it untouched. Documentation exists on Laravel documentation.
QUEUE_DRIVER=redis
# BRAND NAME
# Changes login screen brand name
BRAND_NAME="HAVELSAN © 2023"
# AUTH DEFAULT GATE
# Default gate for Liman authentication
DEFAULT_AUTH_GATE=liman
# EXTENSION TIMEOUT
# Extension request timeout parameter, Liman render engine using it
EXTENSION_TIMEOUT=30
# BRANDING ON LOGIN SCREEN
# You can set it from Liman system settings.
# Values: <image url>
BRANDING=
# RENDER ENGINE ADDRESS
# Render engine path of Liman server. You can leave it untouched.
RENDER_ENGINE_ADDRESS=https://127.0.0.1:2806
# HIGH AVAILABILITY MODE
# High availability syncer for Liman. When you enable it, starts syncing between Liman servers on extensions etc.
# Activate it and run on other Liman: php /liman/server/artisan register_liman
HIGH_AVAILABILITY_MODE=false
# IGNORE LDAP CONNECTION CERTIFICATE CHECK
# Disables 636 port certificate checking on Liman but it does not enough for checking.
# You also need to disable it on ldap.conf file as TLS_REQCERT never
LDAP_IGNORE_CERT=false
# CORS TRUSTED_ORIGINS
# You can set trusted origins for CORS requests. Separate multiple origins with commas.
# Example: http://localhost:8080,http://example.com
CORS_TRUSTED_ORIGINS=
# LOGOUT REDIRECT URL
# You can set a custom URL to redirect users after logout.
# Example: https://example.com
LOGOUT_REDIRECT_URL=
# DEPRECATED
LOG_PATH=/liman/logs/liman.log
# DEPRECATED
LOG_EXTENSION_PATH=/liman/logs/extension.log
##### MAIL SETTINGS #####
# MAIL ENABLED
# Enables mail sending
MAIL_ENABLED=false
# MAILER
# Change mail protocol from here, we recommend it leaving it as smtp.
MAIL_MAILER=smtp
# MAIL HOST
# Mail server
MAIL_HOST=0.0.0.0
# MAIL PORT
# Mail server port
MAIL_PORT=1025
# MAIL USERNAME
# The user that exists on mail server
MAIL_USERNAME=
# MAIL PASSWORD
# Password of the user that you set in username field
MAIL_PASSWORD=
# MAIL ENCRYPTION
# Values: tls, ssl
MAIL_ENCRYPTION=tls
##### MARKET SETTINGS #####
# MARKET URL
# The extension market API url
MARKET_URL=https://market.liman.dev
# MARKET CLIENT ID
# Client ID for authenticated API's for market.
MARKET_CLIENT_ID=
# MARKET CLIENT SECRET
# Client secret for authenticated API's for market.
MARKET_CLIENT_SECRET=
##### AUTH SETTINGS #####
# ACTIVATE KEYCLOAK LOGIN
KEYCLOAK_ACTIVE=false
# KEYCLOAK CLIENT ID
# Values retrieved from Keycloak Panel > Clients > <client> > Account > Credentials
KEYCLOAK_CLIENT_ID=
# KEYCLOAK CLIENT SECRET
# Values retrieved from Keycloak Panel > Clients > <client> > Account > Credentials
KEYCLOAK_CLIENT_SECRET=
# KEYCLOAK REDIRECT URI
# Value is https://<REPLACE_IT_WITH_LIMAN_URL>/keycloak/callback
KEYCLOAK_REDIRECT_URI=https://<REPLACE_IT_WITH_LIMAN_URL>/keycloak/callback
# KEYCLOAK BASE URL
# You can set it from Keycloak panel
# Example value: http://<KEYCLOAK_URL>/auth
KEYCLOAK_BASE_URL=
# KEYCLOAK REALM
# Replace it with your realm name
KEYCLOAK_REALM=
# OTP ENABLED
# Activate Google Authenticator service for 2FA logins
OTP_ENABLED=false
# SESSION EXPIRES ON CLOSE
# Changes session expiration behavior
AUTH_SESSION_EXPIRES_ON_CLOSE=false
# OIDC SETTINGS
# Activate OIDC authentication
# You can use it with any OIDC provider like Keycloak, Auth0 etc.
# Make sure to set the OIDC provider's client ID, secret, and redirect URI.
# You can leave it untouched if you don't use OIDC.
# Values: true, false
OIDC_ACTIVE=false
# OIDC ISSUER URL
# The URL of your OIDC provider's issuer endpoint.
# Example: https://your-oidc-provider.com/realms/your-realm
# Make sure to replace it with your OIDC provider's URL.
# Example value: https://your-oidc-provider.com/realms/your-realm
OIDC_ISSUER_URL=
# OIDC CLIENT ID
# The client ID registered with your OIDC provider.
# Example value: your_client_id
# Make sure to replace it with your OIDC provider's client ID.
OIDC_CLIENT_ID=
# OIDC CLIENT SECRET
# The client secret registered with your OIDC provider.
# Example value: your_client_secret
# Make sure to replace it with your OIDC provider's client secret.
# Note: Keep this secret secure and do not expose it publicly.
OIDC_CLIENT_SECRET=
# OIDC REDIRECT URI
# The redirect URI configured in your OIDC provider.
# This should match the callback URL set in your OIDC provider's client configuration.
# Example value: https://liman.company.com/api/auth/oidc/callback
# Make sure to replace it with your actual redirect URI.
# This is the URL where your application will receive the authentication response from the OIDC provider.
OIDC_REDIRECT_URI=https://<LIMAN_URL_HERE>/api/auth/oidc/callback
# OIDC AUTHORIZATION ENDPOINT
# The endpoint used for user authentication.
# This is typically the authorization endpoint of your OIDC provider.
# Example value: /authorize
# Make sure to replace it with your OIDC provider's authorization endpoint.
# This endpoint is used to initiate the OIDC authentication flow.
OIDC_AUTH_ENDPOINT=/authorize
# OIDC USERINFO ENDPOINT
# The endpoint used to retrieve user information after authentication.
# This is typically the userinfo endpoint of your OIDC provider.
# Example value: /userinfo
# Make sure to replace it with your OIDC provider's userinfo endpoint.
OIDC_USERINFO_ENDPOINT=/userinfo
# OIDC TOKEN ENDPOINT
# The endpoint used to exchange authorization codes for access tokens.
# This is typically the token endpoint of your OIDC provider.
# Example value: /oauth/token
# Make sure to replace it with your OIDC provider's token endpoint.
# This endpoint is used to obtain access tokens after successful authentication.
OIDC_TOKEN_ENDPOINT=/oauth/token
# WEBSOCKET SETTINGS
# Configures Laravel Reverb
REVERB_APP_ID=app
REVERB_APP_KEY=liman-key
REVERB_APP_SECRET=liman-secret
REVERB_HOST=127.0.0.1
REVERB_PORT=6001
REVERB_SCHEME=http
##### DATABASE SETTINGS #####
DB_CONNECTION=pgsql
DB_HOST=127.0.0.1
DB_PORT=5432
DB_DATABASE=liman
DB_USERNAME=liman
DB_PASSWORD=
# POSTGRESQL SSL MODE
# Controls the SSL/TLS connection mode to PostgreSQL
# Values: disable (no SSL), allow (try SSL, fallback to non-SSL), prefer (try SSL first, default),
# require (require SSL), verify-ca (require SSL and verify CA), verify-full (require SSL and verify CA and hostname)
DB_SSLMODE=prefer
# POSTGRESQL SSL ENABLED
# Enable SSL/TLS encryption for PostgreSQL connections with client certificates (mTLS)
# When true, you must provide SSL certificates below
# Values: true, false
DB_SSL_ENABLED=false
# POSTGRESQL SSL CA CERTIFICATE
# Path to the Certificate Authority (CA) certificate file
# Used to verify the PostgreSQL server's certificate
# Example: /liman/certs/postgres-ca.crt
DB_SSL_CA=
# POSTGRESQL SSL CLIENT CERTIFICATE
# Path to the client certificate file for mTLS authentication
# Required when DB_SSL_ENABLED=true and server requires client certificates
# Example: /liman/certs/postgres-client.crt
DB_SSL_CERT=
# POSTGRESQL SSL CLIENT KEY
# Path to the client private key file for mTLS authentication
# Required when DB_SSL_ENABLED=true and server requires client certificates
# Example: /liman/certs/postgres-client.key
DB_SSL_KEY=
##### REDIS SETTINGS #####
# REDIS HOST
# Redis server host address
REDIS_HOST=127.0.0.1
# REDIS PORT
# Redis server port
REDIS_PORT=6379
# REDIS PASSWORD
# Redis server password (leave empty if no password)
REDIS_PASSWORD=
# REDIS DATABASE
# Default Redis database index
REDIS_DB=0
# REDIS CACHE DATABASE
# Redis database index for cache
REDIS_CACHE_DB=1
# REDIS SCHEME
# Redis connection scheme
# Values: tcp (no SSL), tls (with SSL)
REDIS_SCHEME=tcp
# REDIS SSL ENABLED
# Enable SSL/TLS encryption for Redis connections
# Values: true, false
REDIS_SSL_ENABLED=false
# REDIS SSL CA CERTIFICATE
# Path to the Certificate Authority (CA) certificate file
# Required when REDIS_SSL_ENABLED=true
# Example: /liman/certs/tls-ca-cert-file.crt
REDIS_SSL_CA=
# REDIS SSL CERTIFICATE
# Path to the client certificate file
# Required when REDIS_SSL_ENABLED=true
# Example: /liman/certs/tls-cert-file.crt
REDIS_SSL_CERT=
# REDIS SSL KEY
# Path to the client private key file
# Required when REDIS_SSL_ENABLED=true
# Example: /liman/certs/tls-key-file.key
REDIS_SSL_KEY=
# REDIS SSL VERIFY PEER
# Verify the peer's SSL certificate
# Values: true, false
REDIS_SSL_VERIFY_PEER=true
# REDIS SSL VERIFY PEER NAME
# Verify the peer's certificate name
# Values: true, false
REDIS_SSL_VERIFY_PEER_NAME=false