Hello. First time docker user seeking help to configure an app (Apache NiFi) that I have running in a Docker container on an AWS EC2 instance. I must make changes to the config files used to start the app. I need to learn how to do two things:
-
make changes in config files for the app that I need to reapply every time I stop/start that results in a new container instance. How can i persist these changes and apply them at container initialization?
-
there are certain changes to standard configuration for the app recommended to improve its performance. For example, the placement of the four key repositories used by the app on different disk devices. Docker installs them in one location in the container. Ideally each should be on its own mounted device.
I can alter the location parameter in a config file called nifi.properties for each repo location. Assuming I can persist such changes so they are made to the container each time I stop/start a container running nifi, what must I do to permit the app in the container to read/write to the external repo location?
Any help is much appreciated.
Also, my apologies if this is not the correct place to post this question. I’m still trying to get the hang of the Docker forums.