Skip to content

Commit

Permalink
2024-04-23 Domoticz - old-menu branch - PR 2 of 2
Browse files Browse the repository at this point in the history
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]>
  • Loading branch information
Paraphraser committed Apr 23, 2024
1 parent 76628e7 commit 7e87227
Showing 1 changed file with 10 additions and 11 deletions.
21 changes: 10 additions & 11 deletions .templates/domoticz/service.yml
Original file line number Diff line number Diff line change
@@ -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"

0 comments on commit 7e87227

Please sign in to comment.