[Bug]: Modifying settings.yml trough env variables in docker-compose not working
Installation Method
Docker ultra lite
The Problem
Hi, first thank you really much for your work, your project just drop out of the sky just in time we needed it haha I'm writting you about modifying the settings of the app in the settings.yml file. According to the documentation, to set the csrfDisabled parameter to false, I just need to put the line : - SECURITY_CSRFDISABLED=false in the environement part of my docker-compose.yml file, but every time the container build itself, this parameter is not taken in consideration and I need to modify manually this parameter in the settings.yml file.
Is there a special way to do so or maybe the name of the env variable for this parameter is not the good one ?
Wishing you a great day !
Version of Stirling-PDF
latest-ultra-lite
Last Working Version of Stirling-PDF
No response
Page Where the Problem Occurred
No response
Docker Configuration
services:
stirling-pdf:
restart: always
image: frooodle/s-pdf:latest-ultra-lite
ports:
- '8080:8080'
volumes:
- ./trainingData:/usr/share/tessdata #Required for extra OCR languages
- ./extraConfigs:/configs
- ./customFiles:/customFiles/
- ./logs:/logs/
environment:
- DOCKER_ENABLE_SECURITY=false
- SECURITY_ENABLELOGIN=false
- SECURITY_CSRFDISABLED=false
- INSTALL_BOOK_AND_ADVANCED_HTML_OPS=false
- LANGS=fr_FR
- ALLOW_GOOGLE_VISIBILITY=false
- APP_LOCALE=fr_FR
- UI_APP_NAVBAR_NAME=navbar
- SYSTEM_DEFAULTLOCALE=fr-FR
- ENDPOINTS_TO_REMOVE=markdown-to-pdf,url-to-pdf
Relevant Log Output
No response
Additional Information
No response
Browsers Affected
No response
No Duplicate of the Issue
- [X] I have verified that there are no existing issues raised related to my problem.
Seems there is a bug with the csrf disabling parameter specifically, will be fixed next release