Open daaain opened 2 years ago
I think there are some issues with default.yml
in this case
key
should be the name of the conf file. So key: app
to modify app.conf
directory
should be the directory where the file will be found/created. So just the .../local/
path in this case.
That should cause the container start up process to merge/overwrite whatever you specify in content:
with whatever is already there due to the Splunk start up. I'm not sure where this logic exists, but that's what I've observed.
I'm trying to get a heavy forwarder going with a Postgres connection, pre-configured to send data to a Spunk Cloud instance.
Eventually I need this to run in Kubernetes, but for now just trying to get it all going with a local
postgres
container inpostgres
network.I got things up and running, but couldn't find a way to force overwrite of an existing conf file which gets installed as part of the DB Connect app, but needs to be updated from the default.
Is there a way to make this work?
The only workaround I found so far was to create the conf files and mount as volume which doesn't seem to get overwritten by the app installer luckily (see commented out bit in Docker Compose file below).
Docker Compose file:
default.yml (other config files removed for brevity)
Error message: