Closed dannykorpan closed 1 year ago
This recently got changed in the v0.13.0 update onwards please follow https://github.com/Frooodle/Stirling-PDF#customisation for instructions ie instead of defaultLocale it should be SYSTEM_DEFAULTLOCALE
Let me know if that works fine
It doesn't seem to work for SYSTEM_ROOTPATH... I have tried "pdf", "/pdf" "/pdf/" and "https://fulldomain/pdf"
Ahh I see issue Sorry the migration of properties has been more awkward than I thought I will fix this in next patch
Can you try SYSTEM_ROOTURIPATH ?
Also having issues. I can't seem to get the right settings with the newest version. Lost the ability to custom brand etc. Tried a variety of things, will wait till updates to the documentation etc.
Can you try SYSTEM_ROOTURIPATH ?
Was able to get that to work with "/pdf"
I've just done a new install and even the config file seems to be ignored at the moment. Neither my docker environment or the settings file options are being used. This is on the latest docker image.
Also having issues. I can't seem to get the right settings with the newest version. Lost the ability to custom brand etc. Tried a variety of things, will wait till updates to the documentation etc.
I have already updated documentation on this If you want to change the app name etc via env variables then you can use
UI_APPNAME UI_HOMEDESCRIPTION etc
I've just done a new install and even the config file seems to be ignored at the moment. Neither my docker environment or the settings file options are being used. This is on the latest docker image.
Cant reproduce this, case you raise as a new issue and ill see if i can reproduce, are you using security mode?
Got it. All set, I misinterpreted the new instructions. thanks!
Any way i could word it better?
Maybe have a docker-compose example file with all the environment variable options spelled out with # and users can just remove the comment and use the ones they need?
I've just done a new install and even the config file seems to be ignored at the moment. Neither my docker environment or the settings file options are being used. This is on the latest docker image.
Cant reproduce this, case you raise as a new issue and ill see if i can reproduce, are you using security mode?
I've rebuilt it today and removed the env variables from the docker compose. It's now picking up the settings from the config file. Thanks.
Maybe have a docker-compose example file with all the environment variable options spelled out with # and users can just remove the comment and use the ones they need?
environment:
- DOCKER_ENABLE_SECURITY=true
- SECURITY_ENABLELOGIN=true #Default username: admin and password: stirling
- SYSTEM_DEFAULTLOCALE=de-DE
- SYSTEM_GOOGLEVISIBILITY=false
- UI_APPNAMENAVBAR=appnamenavbar-test
- UI_APPNAME=DOCKER PDF
- UI_HOMEDESCRIPTION=------> AWESOME PDF TOOL IN DOCKER <------
- METRICS_ENABLED=false # API CAllS are not allowed e.g. http://<IP>:<PORT>/api/v1/uptime
#- ENDPOINTS_TOREMOVE=img-to-pdf, remove-pages
Hi,
how do I correctly pass environment variables for e.g. the default language in a docker compose file? Here is my docker compose, but the language is still English and not German. What is wrong here?
Thank you for any help in advance Danny