I suggest to be careful when mount log directory. In one day fills some Gigabytes. If you want to mount logs, adjust the logging.
On Thu, 25 Oct 2018 at 10:07 Stephen Greszczyszyn <[email protected]> wrote: > > > On Thu, 25 Oct 2018 at 12:50, Peter Wilcsinszky < > [email protected]> wrote: > > But even with 1.8 I'll need to declare the host mount directory somehow > via docker-compose, as how will the built docker image on dockerhub know > where to locally mount the internal $(NIFI_HOME) volumes as described below? > > VOLUME ${NIFI_LOG_DIR} \ >>> ${NIFI_HOME}/conf \ >>> ${NIFI_HOME}/database_repository \ >>> ${NIFI_HOME}/flowfile_repository \ >>> ${NIFI_HOME}/content_repository \ >>> ${NIFI_HOME}/provenance_repository \ >>> ${NIFI_HOME}/state >>> >> >> Yes you should specify volumes explicitly if you use 1.7.1, but also you >> should specify an extra separate volume to use for your incoming SFTP data. >> >>
