Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Logspout plugins #25

Open
marcinmantke opened this issue May 15, 2017 · 1 comment
Open

Logspout plugins #25

marcinmantke opened this issue May 15, 2017 · 1 comment

Comments

@marcinmantke
Copy link

Hi! Do you have any plans to add an option to install logspout plugins? I'd love to use logspout-gelf but it doesn't seem to be possible right now.

@michaelshobbs
Copy link
Owner

As far as I understand it, plugins are installed at image build time and thus out of scope for this plugin. However, dokku-logspout could be easily modified to support any image name. Thus, you could build a custom container (or choose one that is already out there on hub), set some config, run dokku logspout:update and be up and running.

I'd probably accept a PR that did something like the following:

  • rename the following vars thusly
    DOKKU_LOGSPOUT_DEFAULT_IMAGE_VERSION => DOKKU_LOGSPOUT_DEFAULT_IMAGE
    DOKKU_LOGSPOUT_IMAGE_VERSION => DOKKU_LOGSPOUT_IMAGE
  • set DOKKU_LOGSPOUT_DEFAULT_IMAGE=gliderlabs/logspout:v3.2
  • replaces cases of gliderlabs/logspout:${DOKKU_LOGSPOUT_IMAGE_VERSION} with ${DOKKU_LOGSPOUT_IMAGE}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants