Hi all. I’ve pulled the run
distribution of the camunda-bpm-platform
Docker image. I’m still using the default.yml
configuration (i.e. I’m not passing --production
) but I’d like to override the admin password.
The configuration lives at camunda.bpm.admin-user.password
. Since this is a secret I’d like to pass it in via environment variable. The Spring Boot docs seem to imply this is possible, but I’ve tried a few things that haven’t worked:
docker run -e SPRING_APPLICATION_JSON='{"camunda":{"bpm":{"admin-user":{"password":"boop"}}}}' -p 8080:8080 camunda_bpm_platform:run
-e CAMUNDA_BPM_ADMIN_USER_PASSWORD=boop
-e "CAMUNDA_BPM_ADMIN-USER_PASSWORD"=boop
I’ve also tried appending camunda.bpm.admin-user.password: boop
to default.yml
before startup, and it looks like the first declaration takes precedence.
Is this possible or am I barking up the wrong tree? Thanks!