Discussion Forum to share and further the development of home control and automation, independent of platforms.

    SmartHome Community

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Unsolved
    (Last Updated: 30 March 2021)
    • Moving to Docker

      akbooer

      A number of folk are running openLuup on Docker...

      ...and I'm about to try the same.

      There are a couple of epic threads in the old place:

      Dec 10, 2015 openLuup on Synology via Docker openLuup on Synology via Docker

      Hi all. I would like to start a thread dedicated to running openLuup on Synology via Docker. I have successfully downloaded the airedale/openluup/ docker and have it running with AltUI, but am running into the issue of non-persistence after stop/start and limited success with adding...

      Aug 16, 2018 openLuup on Docker (Hub) openLuup on Docker (Hub)

      To simplify plugin development I created a Docker image for openLuup and made it available on Docker Hub. The Docker image is based on Debian (9, slim) and installs the master branch release of openLuup. The image uses the automated installation script of openLuup and therefore also contains...

      Much of the heavy lifting appears to have been done by @vwout there (and I've asked if they'll join us here!) There's a great GitHub repository:

      GitHub - vwout/docker-openluup: Dockerized openLuup environment with AltUI GitHub - vwout/docker-openluup: Dockerized openLuup environment with AltUI

      Dockerized openLuup environment with AltUI. Contribute to vwout/docker-openluup development by creating an account on GitHub.

      Hoping to get a conversation going here (and a new special openLuup/Docker section) not least because I know I'm going to need some help!

      Docker
    • Openluup docker filling up disk space?

      PerH

      I've been doing other projects the past weeks, and now started seeing sluggish behaviour in the system.. SSH'ed in, and noticed that the harddrive was completely full!

      I had some other issues as well that caused it to fill up, but i noticed that when I removed the openluup container, that freed up 1.5GB!
      This is obviously not the persistent storage folder (cmh-ludl), what else can do this?

      On the base system, it showed as a massive sized /overlay2 folder in the /var/lib/docker/..

      Mabye @vwout knows some docker-hints on this?

      Docker
    • InfluxDB 1.x in docker

      PerH

      I've now gotten most of my applications/components into the docker system, only one left is influxdb.
      I allready have the database files on an external SSD, and the plan was to have a volume for the influxDB (which holds the .conf file), and a bind mount to the database folder.

      This is however not the only files of influxdb that needs to be persistent, when i load up the docker, influx has no information about the databases, even when i know the database folder is available.
      Anyone here know where influxDB stores database setup info? influxdb.conf just enables stuff and sets folders, the info on existing databases and settings is stored elsewhere.

      (should the docker forum be under software, not openluup?)

      Docker
    • Grafana on Docker

      akbooer

      As part of my hardware infrastructure revamp (a move away from 'hobby' platforms to something a bit more solid) I've just switched from running Grafana (a very old version) on a BeagleBone Black (similar to RPi) to my Synology NAS under docker.

      Despite the old system being on the same platform as my main openLuup instance (or, perhaps, because of this) and now with the new system the data has to be shipped across my LAN, this all seems to work much faster.

      I had been running Grafana v3.1.1, because I couldn't upgrade on the old system, but now at 7.3.7, which seems to be the latest Docker version. It's a bit different UI from the old one, and needed next to no configuration, apart from importing the old dashboard settings.

      One thing I'm missing is that the old system had a pull-down menu to switch between dashboards, but the new one doesn't seem to have that, since it switches to a whole new page with a list of dashboards. This doesn't work too well on an iPad, since it brings up the keyboard and obscures half the choices. Am I missing something obvious here?

      Thanks for any suggestions.

      Docker
    For those who registered but didn't received the confirmation email, please send an email to support@smarthome.community with the email you used

    Openluup docker filling up disk space?

    Docker
    2
    4
    100
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • PerH
      PerH last edited by

      I've been doing other projects the past weeks, and now started seeing sluggish behaviour in the system.. SSH'ed in, and noticed that the harddrive was completely full!

      I had some other issues as well that caused it to fill up, but i noticed that when I removed the openluup container, that freed up 1.5GB!
      This is obviously not the persistent storage folder (cmh-ludl), what else can do this?

      On the base system, it showed as a massive sized /overlay2 folder in the /var/lib/docker/..

      Mabye @vwout knows some docker-hints on this?

      1 Reply Last reply Reply Quote 0
      • akbooer
        akbooer last edited by akbooer

        Not seen this myself, but only started running Docker recently, and I'm certainly no expert on that.

        1 Reply Last reply Reply Quote 0
        • PerH
          PerH last edited by

          The answer was offcourse logs. I didn't put in any limit to it, so everything is stored!

          Found the solution here, update the docker compose files, and on we go. 🙂

          1 Reply Last reply Reply Quote 2
          • PerH
            PerH last edited by

            The solution i mentioned has a typo, this is what i added to the compose file:

            logging:
                    driver: "json-file"
                    options:
                        max-file: "5"
                        max-size: 10m
            

            with the "5" for max-file.

            1 Reply Last reply Reply Quote 0
            • First post
              Last post

            Welcome. If you’d like to participate in the discussion, rather than just read, then you can join the forum. As a member, you can interact with others here to share your experience and ask the questions you need answered.

            Powered by NodeBB | Contributors
            Hosted freely by PointPub Media Communications Inc. | Contact us