New .env variable on Stirling-PDF 2.0.1

Hello there ! I'm not familiar with the user-config GUI on the app dashboard so I ask here for help. Since Stirling-PDF v2.0.1, two new .env variables are available: SECURITY_ENABLELOGIN=true and DISABLE_ADDITIONAL_FEATURES=false. And since they are not modifiable through Runtipi, I want to try to configure it through the dashboard (you can see it below) Could someone help me ?
No description
2 Replies
Skullky
Skullky2w ago
I could look into adding theses variables un the config Right now, you will have to edit the docker-compose.yml to add them :
services:
stirling-pdf:
environment:
- SECURITY_ENABLELOGIN=true
- DISABLE_ADDITIONAL_FEATURES=false
services:
stirling-pdf:
environment:
- SECURITY_ENABLELOGIN=true
- DISABLE_ADDITIONAL_FEATURES=false
About the app.env The variables you define in app.env are additional, they will be usable in your docker-compose but won't replace the environment variables inside the services declared in the docker-compose. For example, if you keep what you defined in app.env you can edit your docker-compose.yml like this :
services:
stirling-pdf:
environment:
- SECURITY_ENABLELOGIN=${SECURITY_ENABLELOGIN}
- DISABLE_ADDITIONAL_FEATURES={DISABLE_ADDITIONAL_FEATURES}
services:
stirling-pdf:
environment:
- SECURITY_ENABLELOGIN=${SECURITY_ENABLELOGIN}
- DISABLE_ADDITIONAL_FEATURES={DISABLE_ADDITIONAL_FEATURES}
Azhrion / Veivneorul
Oki ! Thanks !

Did you find this page helpful?