Results 8 comments of Michal Klempa

``` NIFI_REGISTRY_DB_URL: jdbc:h2:/opt/nifi-registry/database/nifi-registry-primary;AUTOCOMMIT=OFF;DB_CLOSE_ON_EXIT=FALSE;LOCK_MODE=3;LOCK_TIMEOUT=25000;WRITE_DELAY=0;AUTO_SERVER=FALSE ```

https://docs.docker.com/develop/develop-images/dockerfile_best-practices/

https://github.com/docker-library/mongo/blob/36a011c5f198ad05c47310284795ad029d8340ba/4.0/Dockerfile#L14

https://github.com/docker-library/mongo/blob/36a011c5f198ad05c47310284795ad029d8340ba/4.0/docker-entrypoint.sh#L12

https://medium.com/@mccode/processes-in-containers-should-not-run-as-root-2feae3f0df3b

Seems that this could be achieved manipulating `conf/logback.xml` in the first place.

Hi, yes you are right. It seems like RunNifiRegistry.java add additional args to command line: https://github.com/apache/nifi-registry/blob/master/nifi-registry-core/nifi-registry-bootstrap/src/main/java/org/apache/nifi/registry/bootstrap/RunNiFiRegistry.java#L883 And these are specified in bootstrap.conf: https://github.com/michalklempa/docker-nifi-registry/blob/develop/templates/bootstrap.conf.gotemplate#L41 As these are currently rendered by me...