Docker + Administration->General Settings

I am using SonarQube 8.4.2.
I am new to docker and have set up a custom docker-compose.yml file that is working to create a sonarqube docker container. It is also copying my files.

I’d like to pre-set some of the Administration->General Settings when the container runs.
I’ve tried setting environment variables in the docker-compose.yml file using the ‘key’ show on the Administration->General Settings page. I’ve also tried setting values in using the ‘key’. I’ve been looking through the documentation on how to use that ‘key’ but can’t find anything. Can someone point me in the right direction?

Interestingly, I just noticed that the Look and Feel section values work when set in the file. The email properties are the ones that don’t seem to work.

email.prefix=[SONARQUBE] Important:
email.from=<our email address>
email.smtp_host.secured=<our mail gateway>
email.smtp_password.secured=<our password>

Never mind. I appear to have found the reason this doesn’t work. Strangely, it seems intentional.

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.