From 7e8722754685a4fd4ab9146477c2f8d4afe385a5 Mon Sep 17 00:00:00 2001 From: Phill Kelley <34226495+Paraphraser@users.noreply.github.com> Date: Tue, 23 Apr 2024 16:29:32 +1000 Subject: [PATCH] 2024-04-23 Domoticz - old-menu branch - PR 2 of 2 Updates service definition: - Change image to `domoticz/domoticz:stable` - Adopt IOTstack convention for `TZ=` - Support [documented](https://hub.docker.com/r/domoticz/domoticz) environment variables - Remove mapping for port 6144 (no longer in use) - Change internal TLS port to 443 - Remove redundant `data` subdirectory from left hand side of volume mapping - Adopt new image's convention for right hand side of volume mapping Signed-off-by: Phill Kelley <34226495+Paraphraser@users.noreply.github.com> --- .templates/domoticz/service.yml | 21 ++++++++++----------- 1 file changed, 10 insertions(+), 11 deletions(-) diff --git a/.templates/domoticz/service.yml b/.templates/domoticz/service.yml index 58667d22f..e17e1b96e 100644 --- a/.templates/domoticz/service.yml +++ b/.templates/domoticz/service.yml @@ -1,16 +1,15 @@ domoticz: container_name: domoticz - image: lscr.io/linuxserver/domoticz:latest + image: domoticz/domoticz:stable + restart: unless-stopped + environment: + - TZ=${TZ:-Etc/UTC} + # - LOG_PATH=/opt/domoticz/userdata/domoticz.log + # - EXTRA_CMD_ARG= ports: - "8083:8080" - - "6144:6144" - - "1443:1443" + - "1443:443" volumes: - - ./volumes/domoticz/data:/config - restart: unless-stopped - environment: - - PUID=1000 - - PGID=1000 - # - TZ=Etc/UTC - # - WEBROOT=domoticz - + - ./volumes/domoticz:/opt/domoticz/userdata + x-devices: + - "/dev/serial/by-id/usb-0658_0200-if00-port0:/dev/ttyACM0"