summarylogtreecommitdiffstats
path: root/stirling-pdf.env
diff options
context:
space:
mode:
authordevome2024-06-12 15:33:25 +0800
committerdevome2024-06-12 15:33:25 +0800
commitf0fd444d7867b57315995b54509c3da7a4471122 (patch)
treebb7b7de72a3e8eaeaba3c39976dbf76bc986cb03 /stirling-pdf.env
downloadaur-f0fd444d7867b57315995b54509c3da7a4471122.tar.gz
stirling-pdf: 0.26.0-1
Diffstat (limited to 'stirling-pdf.env')
-rw-r--r--stirling-pdf.env14
1 files changed, 14 insertions, 0 deletions
diff --git a/stirling-pdf.env b/stirling-pdf.env
new file mode 100644
index 000000000000..32a0db4f8400
--- /dev/null
+++ b/stirling-pdf.env
@@ -0,0 +1,14 @@
+# See https://stirlingtools.com/docs/Advanced%20Configuration/How%20to%20add%20configurations for more information
+# If you want to override with environment parameter 'security.initialLogin.username' parameter naming SECURITY_INITIALLOGIN_USERNAME
+
+SERVER_HOST="127.0.0.1" # server.host in settings
+SERVER_PORT="8080" # server.port in settings
+
+SECURITY_ENABLELOGIN=false # security.enableLogin in settings, set to 'true' to enable login
+SECURITY_CSRFDISABLED=true # security.csrfDisabled in settings, Set to 'true' to disable CSRF protection (not recommended for production)
+SECURITY_LOGINATTEMPTCOUNT=5 # security.loginAttemptCount in settings, lock user account after 5 tries
+SECURITY_LOGINRESETTIMEMINUTES=120 # security.loginResetTimeMinutes in settings, lock account for 2 hours after x attempts
+SECURITY_INITIALLOGIN_USERNAME=admin # security.initialLogin.username in settings, initial username for the first login
+SECURITY_INITIALLOGIN_PASSWORD=stirling # security.initialLogin.password in settings, initial password for the first login
+
+# Please add other environment variables according to this link on your own: https://stirlingtools.com/docs/Advanced%20Configuration/How%20to%20add%20configurations