Replies: 2 comments 2 replies
-
https://docs.stirlingpdf.com/Advanced%20Configuration/System%20and%20Security Docker enable security flag must be set in the docker container |
Beta Was this translation helpful? Give feedback.
-
### Below are the only log that i found in the docker,/root/logs/info.log |
Beta Was this translation helpful? Give feedback.
-
I have set the below config ,and use cmd to run in linux server, when i access to portal use 8080 it no need to login...
settings.yml
security:
enableLogin: true # set to 'true' to enable login
csrfDisabled: false # set to 'true' to disable CSRF protection (not recommended for production)
loginAttemptCount: 5 # lock user account after 5 tries; when using e.g. Fail2Ban you can deactivate the function with -1
loginResetTimeMinutes: 120 # lock account for 2 hours after x attempts
loginMethod: normal # Accepts values like 'all' and 'normal'(only Login with Username/Password), 'oauth2'(only Login with OAuth2) or 'saml2'(only Login with SAML2)
initialLogin:
username: 'root' # initial username for the first login
password: 'root' # initial password for the first login
docker run
docker run -d
--name stirling-pdf
-p 8080:8080
-v "./StirlingPDF/trainingData:/usr/share/tessdata"
-v "./StirlingPDF/extraConfigs:/configs"
-v "./StirlingPDF/customFiles:/customFiles/"
-v "./StirlingPDF/logs:/logs/"
-v "./StirlingPDF/pipeline:/pipeline/"
-e LANGS=zh_CN
stirlingtools/stirling-pdf:latest
Beta Was this translation helpful? Give feedback.
All reactions