Skip to content

Commit 7e87227

Browse files
committed
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 <[email protected]>
1 parent 76628e7 commit 7e87227

File tree

1 file changed

+10
-11
lines changed

1 file changed

+10
-11
lines changed

.templates/domoticz/service.yml

Lines changed: 10 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,15 @@
11
domoticz:
22
container_name: domoticz
3-
image: lscr.io/linuxserver/domoticz:latest
3+
image: domoticz/domoticz:stable
4+
restart: unless-stopped
5+
environment:
6+
- TZ=${TZ:-Etc/UTC}
7+
# - LOG_PATH=/opt/domoticz/userdata/domoticz.log
8+
# - EXTRA_CMD_ARG=
49
ports:
510
- "8083:8080"
6-
- "6144:6144"
7-
- "1443:1443"
11+
- "1443:443"
812
volumes:
9-
- ./volumes/domoticz/data:/config
10-
restart: unless-stopped
11-
environment:
12-
- PUID=1000
13-
- PGID=1000
14-
# - TZ=Etc/UTC
15-
# - WEBROOT=domoticz
16-
13+
- ./volumes/domoticz:/opt/domoticz/userdata
14+
x-devices:
15+
- "/dev/serial/by-id/usb-0658_0200-if00-port0:/dev/ttyACM0"

0 commit comments

Comments
 (0)