Run weewx in host network mode to receive weatherlink UDP broadcasts.

This commit is contained in:
2024-02-29 20:18:18 +00:00
parent bf68d60c15
commit 592333aca9

View File

@@ -20,6 +20,8 @@ job "weewx" {
config { config {
image = "gitea.v.paler.net/ppetru/weewx:latest" image = "gitea.v.paler.net/ppetru/weewx:latest"
# to be able to receive UDP broadcast packets from the weatherlink
network_mode = "host"
volumes = [ volumes = [
"/data/compute/appdata/weewx/etc:/etc/weewx", "/data/compute/appdata/weewx/etc:/etc/weewx",
"/data/compute/appdata/weewx/html:/var/www/html", "/data/compute/appdata/weewx/html:/var/www/html",