New addition: Domoticz

This commit is contained in:
2023-09-14 20:34:00 +02:00
parent 8fd910badb
commit aa76430a21
2 changed files with 30 additions and 0 deletions
+12
View File
@@ -0,0 +1,12 @@
# Uncomment and change the following variables if you want to use them.
#RESTART=unless-stopped
#SYNOLOGY_VOLUME=volume1
#STACK_NAME=domoticz
#UID=1024
#GID=101
#TZ=Europe/Amsterdam
#DOMOTICZ_CONTAINER_NAME=Domoticz
#DOMOTICZ_TAG=latest
#DOMOTICZ_PORT=3000
#DOMOTICZ_EXTRA_CMD_ARG=
#DOMOTICZ_LOG_PATH=/opt/domoticz/userdata/domoticz.log
+18
View File
@@ -0,0 +1,18 @@
services:
# Domoticz
domoticz:
container_name: ${DOMOTICZ_CONTAINER_NAME:-Domoticz}
image: domoticz/domoticz:${DOMOTICZ_TAG:-latest}
user: ${UID:-1024}:${GID:-101}
restart: ${RESTART:-unless-stopped}
healthcheck:
test: curl -f http://localhost:${DOMOTICZ_PORT:-8080}/ || exit 1
environment:
WWW_PORT: ${DOMOTICZ_PORT:-8080}
TZ: ${TZ:-Europe/Amsterdam}
EXTRA_CMD_ARG: ${DOMOTICZ_EXTRA_CMD_ARG:-}
LOG_PATH: ${DOMOTICZ_LOG_PATH:-/opt/domoticz/userdata/domoticz.log}
ports:
- ${DOMOTICZ_PORT:-8080}:${DOMOTICZ_PORT:-8080}
volumes:
- /${SYNOLOGY_VOLUME:-volume1}/docker/${STACK_NAME:-domoticz}/${DOMOTICZ_CONTAINER_NAME:-Domoticz}/opt/domoticz/userdata:/opt/domoticz/userdata