Re: [weewx-user] Re: WeeWX Docker Image for Synology.

2020-04-22 Thread Tom Mitchell
Yes, in thinking about this Docker implementation, it was not meant as a
workflow, but rather a deployment mechanism. The way I use it is to get
things working on my laptop or in a VM. Then I use the Docker workflow to
deploy it to Kubernetes on GCP.

I think if one were to think of is an iterative thing where every time I
made a change to a skin, a template, or weewx.conf I had to build an image,
upload it to a repository, etc. I would bail.

But as a deployment mechanism, it works really for me and has for years now.

--
Tom Mitchell
t...@tom.org
Real Time Beverly, MA Weather
http://weather.tom.org

"The whole problem with the world
  is that fools and fanatics are
  always so certain of themselves,
  and wiser people so full of doubts."
  - Bertrand Russell


On Wed, Apr 22, 2020 at 6:40 AM weerstation Maurik <
l...@weerstationmaurik.nl> wrote:

> Hi Sven,
>
> Sorry for very late reply!
>
> As Tom said it's not straightforward to map folders you would like to,
> It is possible to use for volume mapping for  /home/weewx/public_html so
> you can serve HTML from your NAS.
> I had no luck with in getting the conf folder and/or database folder to
> map.
>
> Best way forward is to build your docker when changes occur.
> That's why I stick to using my RPi instead of the Synology.
> On the Pi I can access the whole RPi and all these folders straight away
> through a share on any PC for backup, check or changes.
>
>
>
>
>
>
>
> Op dinsdag 14 april 2020 11:38:11 UTC+2 schreef Tom Mitchell:
>>
>> Hi Sven,
>>
>> Mark and Nico have had some success running their weewx on syno with
>> Docker. Maybe they can share some of their tips. Along the way, I have
>> learned about the usability (or lack of) in my docker/weewx solution that I
>> am working on. More to come soon as I am testing with it now, trying to run
>> weewx 4 beta 18 and the Belchertown skin. I am troubleshooting an error
>> with writing the DarkSky forecast and once that is solved I intend to
>> update the latest base docker image for v4.
>>
>> I am way open to suggestions on how to make the images more usable by
>> more people. They were intended to allow me to host multiple weewx sites on
>> Kubernetes and I have not yet accounted for other peoples' use cases. But
>> it's open source and I would love any contributions or suggestions on
>> usability.
>>
>> You can map volumes for sure to keep your database on a local drive. But
>> it gets tricky if you try to map /home/weewx because if you do that to
>> expose your weewx.conf, it will hide the rest of /home/weewx/. So the
>> current solution is to define your own docker image that uses mine as a
>> base.
>>
>> @Mark and @nico can you chime in?
>>
>>
>> --
>> Tom Mitchell
>> t...@tom.org
>> Real Time Beverly, MA Weather
>> http://weather.tom.org
>>
>> "The whole problem with the world
>>   is that fools and fanatics are
>>   always so certain of themselves,
>>   and wiser people so full of doubts."
>>   - Bertrand Russell
>>
>>
>> On Mon, Apr 13, 2020 at 7:47 PM 'Sven Strunz' via weewx-user <
>> weewx...@googlegroups.com> wrote:
>>
>>> Hi all,
>>>
>>> I am also trying to get weewx running in a docker on my synolog ds718+.
>>>
>>> @Tom: with your docker-image I can get it running, but I don't get
>>> managed to mount volumes to have the weewx.conf available and to have the
>>> html files. And it would be nice to safe the database in a separate mounted
>>> volume.
>>>
>>> Background is, that I would like to have my Netatmo weather Station
>>> within weewx ( https://github.com/matthewwall/weewx-netatmo ).
>>>
>>> Are there any News?
>>>
>>> Regards
>>> Sven
>>>
>>> Am Sonntag, 29. März 2020 13:10:43 UTC+2 schrieb weerstation Maurik:

 Tom-Mark,

 I have tried to run a container on Synology two months ago which didn't
 work first time around, mitct02 and jgoerzen were the images tried.
 Have kept a full screenshot log of what I did to get it running so
 could be of some help.Anyway then corona got in the way and more or less,
 put it on hold for now. Reinstalled the PI with version 4 and that's it.

 Also very interested in a Synology Docker version, could test it as
 well on a DS218+ running a number of containers already among which is
 HomeAsisstant.

 If you take this to email be sure to report back here once in a while,
 thanks.

 rgds
 Nico



 Op maandag 23 maart 2020 17:57:08 UTC+1 schreef Tom Mitchell:
>
> List culture question: should Mark and I SPAM the list with our
> conversation or take it offline? I am inclined to take it offline, but 
> want
> to be sensitive to the group's collective desire.
>
> --
> Tom Mitchell
> t...@tom.org
> Real Time Beverly, MA Weather
> http://weather.tom.org
>
>>
>> --
>>> You received this message because you are subscribed to a topic in the
>>> Google Groups "weewx-user" group.
>>> To unsubscribe from this topic, visit
>>> 

Re: [weewx-user] Re: WeeWX Docker Image for Synology.

2020-04-22 Thread weerstation Maurik
Hi Sven,

Sorry for very late reply!

As Tom said it's not straightforward to map folders you would like to,
It is possible to use for volume mapping for  /home/weewx/public_html so 
you can serve HTML from your NAS.
I had no luck with in getting the conf folder and/or database folder to map.

Best way forward is to build your docker when changes occur.
That's why I stick to using my RPi instead of the Synology.
On the Pi I can access the whole RPi and all these folders straight away 
through a share on any PC for backup, check or changes.







Op dinsdag 14 april 2020 11:38:11 UTC+2 schreef Tom Mitchell:
>
> Hi Sven,
>
> Mark and Nico have had some success running their weewx on syno with 
> Docker. Maybe they can share some of their tips. Along the way, I have 
> learned about the usability (or lack of) in my docker/weewx solution that I 
> am working on. More to come soon as I am testing with it now, trying to run 
> weewx 4 beta 18 and the Belchertown skin. I am troubleshooting an error 
> with writing the DarkSky forecast and once that is solved I intend to 
> update the latest base docker image for v4.
>
> I am way open to suggestions on how to make the images more usable by more 
> people. They were intended to allow me to host multiple weewx sites on 
> Kubernetes and I have not yet accounted for other peoples' use cases. But 
> it's open source and I would love any contributions or suggestions on 
> usability.
>
> You can map volumes for sure to keep your database on a local drive. But 
> it gets tricky if you try to map /home/weewx because if you do that to 
> expose your weewx.conf, it will hide the rest of /home/weewx/. So the 
> current solution is to define your own docker image that uses mine as a 
> base.
>
> @Mark and @nico can you chime in?
>
>
> --
> Tom Mitchell
> t...@tom.org 
> Real Time Beverly, MA Weather
> http://weather.tom.org
>
> "The whole problem with the world
>   is that fools and fanatics are
>   always so certain of themselves,
>   and wiser people so full of doubts."
>   - Bertrand Russell
>
>
> On Mon, Apr 13, 2020 at 7:47 PM 'Sven Strunz' via weewx-user <
> weewx...@googlegroups.com > wrote:
>
>> Hi all,
>>
>> I am also trying to get weewx running in a docker on my synolog ds718+.
>>
>> @Tom: with your docker-image I can get it running, but I don't get 
>> managed to mount volumes to have the weewx.conf available and to have the 
>> html files. And it would be nice to safe the database in a separate mounted 
>> volume.
>>
>> Background is, that I would like to have my Netatmo weather Station 
>> within weewx ( https://github.com/matthewwall/weewx-netatmo ).
>>
>> Are there any News?
>>
>> Regards
>> Sven
>>
>> Am Sonntag, 29. März 2020 13:10:43 UTC+2 schrieb weerstation Maurik:
>>>
>>> Tom-Mark,
>>>
>>> I have tried to run a container on Synology two months ago which didn't 
>>> work first time around, mitct02 and jgoerzen were the images tried.
>>> Have kept a full screenshot log of what I did to get it running so could 
>>> be of some help.Anyway then corona got in the way and more or less, 
>>> put it on hold for now. Reinstalled the PI with version 4 and that's it.
>>>
>>> Also very interested in a Synology Docker version, could test it as well 
>>> on a DS218+ running a number of containers already among which is 
>>> HomeAsisstant.
>>>
>>> If you take this to email be sure to report back here once in a while, 
>>> thanks.
>>>
>>> rgds
>>> Nico
>>>
>>>
>>>
>>> Op maandag 23 maart 2020 17:57:08 UTC+1 schreef Tom Mitchell:

 List culture question: should Mark and I SPAM the list with our 
 conversation or take it offline? I am inclined to take it offline, but 
 want 
 to be sensitive to the group's collective desire.

 --
 Tom Mitchell
 t...@tom.org
 Real Time Beverly, MA Weather
 http://weather.tom.org

>
> -- 
>> You received this message because you are subscribed to a topic in the 
>> Google Groups "weewx-user" group.
>> To unsubscribe from this topic, visit 
>> https://groups.google.com/d/topic/weewx-user/V58FwEAgKXY/unsubscribe.
>> To unsubscribe from this group and all its topics, send an email to 
>> weewx...@googlegroups.com .
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/weewx-user/c2b9cc96-8021-48e9-98e9-7da69007b698%40googlegroups.com
>>  
>> 
>> .
>>
>

-- 
You received this message because you are subscribed to the Google Groups 
"weewx-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to weewx-user+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/59005d6e-16eb-4ffa-8060-6dee7b8a6402%40googlegroups.com.


Re: [weewx-user] Re: WeeWX Docker Image for Synology.

2020-04-14 Thread Tom Mitchell
Hi Sven,

Mark and Nico have had some success running their weewx on syno with
Docker. Maybe they can share some of their tips. Along the way, I have
learned about the usability (or lack of) in my docker/weewx solution that I
am working on. More to come soon as I am testing with it now, trying to run
weewx 4 beta 18 and the Belchertown skin. I am troubleshooting an error
with writing the DarkSky forecast and once that is solved I intend to
update the latest base docker image for v4.

I am way open to suggestions on how to make the images more usable by more
people. They were intended to allow me to host multiple weewx sites on
Kubernetes and I have not yet accounted for other peoples' use cases. But
it's open source and I would love any contributions or suggestions on
usability.

You can map volumes for sure to keep your database on a local drive. But it
gets tricky if you try to map /home/weewx because if you do that to expose
your weewx.conf, it will hide the rest of /home/weewx/. So the current
solution is to define your own docker image that uses mine as a base.

@Mark and @nico can you chime in?


--
Tom Mitchell
t...@tom.org
Real Time Beverly, MA Weather
http://weather.tom.org

"The whole problem with the world
  is that fools and fanatics are
  always so certain of themselves,
  and wiser people so full of doubts."
  - Bertrand Russell


On Mon, Apr 13, 2020 at 7:47 PM 'Sven Strunz' via weewx-user <
weewx-user@googlegroups.com> wrote:

> Hi all,
>
> I am also trying to get weewx running in a docker on my synolog ds718+.
>
> @Tom: with your docker-image I can get it running, but I don't get managed
> to mount volumes to have the weewx.conf available and to have the html
> files. And it would be nice to safe the database in a separate mounted
> volume.
>
> Background is, that I would like to have my Netatmo weather Station within
> weewx ( https://github.com/matthewwall/weewx-netatmo ).
>
> Are there any News?
>
> Regards
> Sven
>
> Am Sonntag, 29. März 2020 13:10:43 UTC+2 schrieb weerstation Maurik:
>>
>> Tom-Mark,
>>
>> I have tried to run a container on Synology two months ago which didn't
>> work first time around, mitct02 and jgoerzen were the images tried.
>> Have kept a full screenshot log of what I did to get it running so could
>> be of some help.Anyway then corona got in the way and more or less,
>> put it on hold for now. Reinstalled the PI with version 4 and that's it.
>>
>> Also very interested in a Synology Docker version, could test it as well
>> on a DS218+ running a number of containers already among which is
>> HomeAsisstant.
>>
>> If you take this to email be sure to report back here once in a while,
>> thanks.
>>
>> rgds
>> Nico
>>
>>
>>
>> Op maandag 23 maart 2020 17:57:08 UTC+1 schreef Tom Mitchell:
>>>
>>> List culture question: should Mark and I SPAM the list with our
>>> conversation or take it offline? I am inclined to take it offline, but want
>>> to be sensitive to the group's collective desire.
>>>
>>> --
>>> Tom Mitchell
>>> t...@tom.org
>>> Real Time Beverly, MA Weather
>>> http://weather.tom.org
>>>

 --
> You received this message because you are subscribed to a topic in the
> Google Groups "weewx-user" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/weewx-user/V58FwEAgKXY/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
> weewx-user+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/weewx-user/c2b9cc96-8021-48e9-98e9-7da69007b698%40googlegroups.com
> 
> .
>

-- 
You received this message because you are subscribed to the Google Groups 
"weewx-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to weewx-user+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/CAKVzASANRNqM4879MehfJhtsP5q7QAeZBmAKLFfm1Jtg%3D8Sdow%40mail.gmail.com.


Re: [weewx-user] Re: WeeWX Docker Image for Synology.

2020-04-13 Thread 'Sven Strunz' via weewx-user
Hi all,

I am also trying to get weewx running in a docker on my synolog ds718+.

@Tom: with your docker-image I can get it running, but I don't get managed 
to mount volumes to have the weewx.conf available and to have the html 
files. And it would be nice to safe the database in a separate mounted 
volume.

Background is, that I would like to have my Netatmo weather Station within 
weewx ( https://github.com/matthewwall/weewx-netatmo ).

Are there any News?

Regards
Sven

Am Sonntag, 29. März 2020 13:10:43 UTC+2 schrieb weerstation Maurik:
>
> Tom-Mark,
>
> I have tried to run a container on Synology two months ago which didn't 
> work first time around, mitct02 and jgoerzen were the images tried.
> Have kept a full screenshot log of what I did to get it running so could 
> be of some help.Anyway then corona got in the way and more or less, 
> put it on hold for now. Reinstalled the PI with version 4 and that's it.
>
> Also very interested in a Synology Docker version, could test it as well 
> on a DS218+ running a number of containers already among which is 
> HomeAsisstant.
>
> If you take this to email be sure to report back here once in a while, 
> thanks.
>
> rgds
> Nico
>
>
>
> Op maandag 23 maart 2020 17:57:08 UTC+1 schreef Tom Mitchell:
>>
>> List culture question: should Mark and I SPAM the list with our 
>> conversation or take it offline? I am inclined to take it offline, but want 
>> to be sensitive to the group's collective desire.
>>
>> --
>> Tom Mitchell
>> t...@tom.org
>> Real Time Beverly, MA Weather
>> http://weather.tom.org
>>
>>>
>>>

-- 
You received this message because you are subscribed to the Google Groups 
"weewx-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to weewx-user+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/c2b9cc96-8021-48e9-98e9-7da69007b698%40googlegroups.com.


Re: [weewx-user] Re: WeeWX Docker Image for Synology.

2020-03-29 Thread weerstation Maurik
Tom-Mark,

I have tried to run a container on Synology two months ago which didn't 
work first time around, mitct02 and jgoerzen were the images tried.
Have kept a full screenshot log of what I did to get it running so could be 
of some help.Anyway then corona got in the way and more or less, 
put it on hold for now. Reinstalled the PI with version 4 and that's it.

Also very interested in a Synology Docker version, could test it as well on 
a DS218+ running a number of containers already among which is 
HomeAsisstant.

If you take this to email be sure to report back here once in a while, 
thanks.

rgds
Nico



Op maandag 23 maart 2020 17:57:08 UTC+1 schreef Tom Mitchell:
>
> List culture question: should Mark and I SPAM the list with our 
> conversation or take it offline? I am inclined to take it offline, but want 
> to be sensitive to the group's collective desire.
>
> --
> Tom Mitchell
> t...@tom.org 
> Real Time Beverly, MA Weather
> http://weather.tom.org
>
>>
>>

-- 
You received this message because you are subscribed to the Google Groups 
"weewx-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to weewx-user+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/f7d7ae22-d759-4272-b895-2034110b9f72%40googlegroups.com.


Re: [weewx-user] Re: WeeWX Docker Image for Synology.

2020-03-23 Thread Tom Mitchell
List culture question: should Mark and I SPAM the list with our
conversation or take it offline? I am inclined to take it offline, but want
to be sensitive to the group's collective desire.

--
Tom Mitchell
t...@tom.org
Real Time Beverly, MA Weather
http://weather.tom.org

"The whole problem with the world
  is that fools and fanatics are
  always so certain of themselves,
  and wiser people so full of doubts."
  - Bertrand Russell


On Mon, Mar 23, 2020 at 11:34 AM Mark Stanchin  wrote:

> Hi Tom, Yes I would like to try out your docker ver of WeeWx ! I'm very
> new with setting up docker and I do have a few containers running home
> assistant on my  synology nas.
> I'm also very new with WeeWx but did  accomplish getting it set up on a
> raspberry pi 4  I did have some problems with the Davis IP data logger
> stopping and getting  corrupted .
>  I'm hoping that you could help me get this installed with explicit
> instructions with the container installation as well as getting Weewx  set
> up and running inside the container .
>
> I'm Excited to get this going !
>
> Thanks Tom !
>
> On Sun, Mar 22, 2020 at 7:54 AM Tom Mitchell  wrote:
>
>> I use and maintain this one:
>> https://hub.docker.com/repository/docker/mitct02/weewx
>>
>> I don't know if anyone else uses it, but I am happy to help anyone out or
>> make it more generally useful.
>>
>> I hope this helps.
>>
>> On Saturday, March 21, 2020 at 3:22:30 PM UTC-4, Mark Stanchin wrote:
>>>
>>> Hi Group, I'm looking for a working recent WeeWX Docker Image to run my
>>> synology NAS. I'm currently running the latest ver of WeeWx on a Pi4 and
>>> Importing the data from my Davis VP2 using the IP Data Logger. I am
>>> uploading to my own Web Site. I have been having issues with data from the
>>> Davis stopping and the database being corrupted and having to be reset. I
>>> also had the Flash Mem card go bad once soo I was thinking of adding a SSD
>>> to the PI4 or the Docker on My NAS as a solution. Please any thoughts would
>>> be appreciated! Thanks, Mark
>>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "weewx-user" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to weewx-user+unsubscr...@googlegroups.com.
>> To view this discussion on the web visit
>> https://groups.google.com/d/msgid/weewx-user/df788712-2700-4008-a918-cd2828029ff5%40googlegroups.com
>> 
>> .
>>
> --
> You received this message because you are subscribed to a topic in the
> Google Groups "weewx-user" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/weewx-user/V58FwEAgKXY/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
> weewx-user+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/weewx-user/CAACXvCSo%2BwXY-F5XOE%2BuGKDHLUZCJ40y-GXfjCZFZ9tiZ_bETw%40mail.gmail.com
> 
> .
>

-- 
You received this message because you are subscribed to the Google Groups 
"weewx-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to weewx-user+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/CAKVzASA%3Dy2dS1-CCTiTx9qy8Mcu0rZU9oKwpChGMsbHpd7BPCQ%40mail.gmail.com.


Re: [weewx-user] Re: WeeWX Docker Image for Synology.

2020-03-23 Thread Mark Stanchin
Hi Tom, Yes I would like to try out your docker ver of WeeWx ! I'm very new
with setting up docker and I do have a few containers running home
assistant on my  synology nas.
I'm also very new with WeeWx but did  accomplish getting it set up on a
raspberry pi 4  I did have some problems with the Davis IP data logger
stopping and getting  corrupted .
 I'm hoping that you could help me get this installed with explicit
instructions with the container installation as well as getting Weewx  set
up and running inside the container .

I'm Excited to get this going !

Thanks Tom !

On Sun, Mar 22, 2020 at 7:54 AM Tom Mitchell  wrote:

> I use and maintain this one:
> https://hub.docker.com/repository/docker/mitct02/weewx
>
> I don't know if anyone else uses it, but I am happy to help anyone out or
> make it more generally useful.
>
> I hope this helps.
>
> On Saturday, March 21, 2020 at 3:22:30 PM UTC-4, Mark Stanchin wrote:
>>
>> Hi Group, I'm looking for a working recent WeeWX Docker Image to run my
>> synology NAS. I'm currently running the latest ver of WeeWx on a Pi4 and
>> Importing the data from my Davis VP2 using the IP Data Logger. I am
>> uploading to my own Web Site. I have been having issues with data from the
>> Davis stopping and the database being corrupted and having to be reset. I
>> also had the Flash Mem card go bad once soo I was thinking of adding a SSD
>> to the PI4 or the Docker on My NAS as a solution. Please any thoughts would
>> be appreciated! Thanks, Mark
>>
> --
> You received this message because you are subscribed to the Google Groups
> "weewx-user" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to weewx-user+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/weewx-user/df788712-2700-4008-a918-cd2828029ff5%40googlegroups.com
> 
> .
>

-- 
You received this message because you are subscribed to the Google Groups 
"weewx-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to weewx-user+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/CAACXvCSo%2BwXY-F5XOE%2BuGKDHLUZCJ40y-GXfjCZFZ9tiZ_bETw%40mail.gmail.com.