https://github.com/vinceskahan/weewx-docker

Changes from the previous major version in GitHub:

   - support debian 10 and ubuntu 20.04
   - both using v4 dpkg packages for weewx
   - as always in Simulator mode
   - with the tree very much reorganized

To build and run:

   - git clone the repo above
   - cd in there
   - docker-compose build
   - docker-compose up -d


One thing I've found with v4 is that it seems to require an active syslog 
daemon on the runtime host.  This was a little painful in Docker, as both 
debian(ish) variants omit this. I added rsyslogd to handle this, with 
supervisor handling starting the two processes (rsyslog and weewx) in the 
weewx container.  Works ok for me.

Docker-compose is set to start up a nginx container for each weewx 
instance, listening on a specified port.   Persistent storage is in 
/var/tmp to not clutter up things.   See the readme file in the repo above 
for details.

Coming when I get around to it:

   - add support for centos variants supported by weewx v4 packages
   - add support for building any/all os variants via setup.py rather than 
   using the released packages

This is tested on an Intel NUC so your mileage may vary if you're on a 
raspi (ARM) or other platform that Docker might support, although if 
there's an official base image for your os, it should work.



-- 
You received this message because you are subscribed to the Google Groups 
"weewx-development" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-development/06f7f907-2df5-432d-89bf-172af9d84da0%40googlegroups.com.

Reply via email to