Git Product home page Git Product logo

Comments (8)

dnsmichi avatar dnsmichi commented on July 28, 2024 1

That's not in Docker atm, that's just a patch for the source code to try.

from dashing-icinga2.

dnsmichi avatar dnsmichi commented on July 28, 2024

Edit this line: https://github.com/dnsmichi/dashing-icinga2/blob/master/dashboards/icinga2.erb#L17

from dashing-icinga2.

benhartwich avatar benhartwich commented on July 28, 2024

Thanks, what´s the best practise when using docker environment?

from dashing-icinga2.

dnsmichi avatar dnsmichi commented on July 28, 2024

Rebuild the image and run it. Likewise, push it to your own registry. That applies for any changes made to the source code btw, also re-arranging dashlets.

from dashing-icinga2.

benhartwich avatar benhartwich commented on July 28, 2024

Thanks. Hmm, I think an environment variable would be perfect - if it´s somehow possible. Or using the system´s date. It would be a little bit complicated staying updateable when I rebuild this image for my own, wouldn´t it?

from dashing-icinga2.

dnsmichi avatar dnsmichi commented on July 28, 2024

Sure, I just did not have time to look into a solution here. Likely you can create a similar one like #54 - feel free to create PR.

from dashing-icinga2.

dnsmichi avatar dnsmichi commented on July 28, 2024

You can test the linked PR.

michi@mbpmif ~/dev/github/dashing-icinga2 (feature/clock-timezone-config=) $ DASHBOARD_TIMEZONE="Europe/Berlin" binpaths/ruby/2.6.0/bin/smashing start -p 8005

Screen Shot 2019-10-23 at 10 17 56

from dashing-icinga2.

benhartwich avatar benhartwich commented on July 28, 2024

Thank you very much - so the new environment variable will be DASHBOARD_TIMEZONE? Have I to build the docker manually or can I use docker pull?

from dashing-icinga2.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.