configuration parameters vs. environment-variables

Playmaker03265 days ago

Hello,

I setup traccer successfully with docker compose (running on synology) where I used the CONFIG_USE_ENVIRONMENT_VARIABLES=true to force traccar to use environment-variables vs. settings in traccer.xml.

Basic setup is working fine.

https://www.traccar.org/configuration-file/ lists a huge number of detailed configuration parameter - but only in xml-notation.
Can I assume that every configuration-parameter that is listed there has an equivalent environment-variable too?

For example:
openid.clientid = OPENID_CLIENTID

Thank you

Anton Tananaev5 days ago

All of them should be available, but remember that camel case converts to snake case. So openid.clientId converts to OPENID_CLIENT_ID. Pay attention to letter case.

Playmaker03265 days ago

Thank you very much - this was extremely helpful to know and solved my problems on setting up openID ;)