How to configure Graylog Plugin on bootstrap (non interactive)?

I setup a Graylog server based on the official Graylog 3 Docker image and added the SSO plugin. In principle it works but I have to configure the SSO headers using the UI after each container start.

I see the options to configure Graylog itself using either a server.conf file or environment variables. But I cannot find any way to configure the plugin upfront to get a final image for automatic deployment.

Is there any way to configure Graylog plugins using special config file entries, prefixed environment variables or separate config files?

Stack Overflow Asked by Arne Burmeister on December 29, 2020

1 Answers

One Answer

If you create you're own shell script to update files/settings, you can create a new image based on the original (a new Dockerfile), which, when started, will run the script, modify any relevant settings and start the application-server. Even better if you can have the script take inputs which you can supply as environment variables to the docker container.

Answered by Rob Evans on December 29, 2020

Add your own answers!

Related Questions

Red box isn’t placed as expected

1  Asked on November 4, 2021 by liya-thomas


String Comparison Javascript

2  Asked on November 4, 2021 by crimsonpython24


es5 using promise but returns defered before resolving

2  Asked on November 4, 2021 by rodney-wormsbecher


2 arrays with json problem (Node.js, Discord.js)

3  Asked on November 4, 2021 by mr-code


Is there a XAML equivalent to nameof?

2  Asked on November 4, 2021 by luxun


Multistage builds with yum

3  Asked on November 4, 2021 by vorticity


WooCommerce can’t see product variations

1  Asked on November 4, 2021 by tizio-fittizio


VScode setup with ROS and auto complete

3  Asked on November 4, 2021 by dixcipuli


Pick an account after Connect-MicrosoftTeams

4  Asked on November 4, 2021 by mauek-unak


Show local image file:///tmp/someimage.jpg

1  Asked on November 4, 2021 by dani-herrera


Ask a Question

Get help from others!

© 2022 All rights reserved.