Hello,
can you please advise on how to update files (i.e. logging.properties) in Bonita running in the official docker container?
Ideally when I stop the container and I start a new one I'd like the update to the file being persisted.
Thank you
Hello,
can you please advise on how to update files (i.e. logging.properties) in Bonita running in the official docker container?
Ideally when I stop the container and I start a new one I'd like the update to the file being persisted.
Thank you
Hello.
For configuration files not stored in the database (e.g. logging.properties), right now, the way to configure them is by using a volume.
For the case of the logging.properties, there is an env property that allows changing its path:
https://documentation.bonitasoft.com/bonita/2021.1/bonita-docker-installation#_bonita_server_logging_file_bonita_setup_logging_file
So it would mean to change the logging properties configuration:
For other config files, when there are no specific env properties, you can use a custom configuration script:
Thank you,
I created a local file /home/ubuntu/custom-config/logging.properties with some logging configuration, then
I tried this command:
docker run --name bonita -v /home/ubuntu/custom-config:/opt/custom-config -e “BONITA_SERVER_LOGGING_FILE=/opt/custom-config/logging.properties” -d -p 8081:8080 bonita
The volume is mounted correctly, but the log files have always the same verbosity.
What am I doing wrong?
Thanks,