Platform: Docker
Description:
i have Domoticz into a container created with this stack
Code: Select all
version: '3.8'
services:
domoticz:
image: domoticz/domoticz:stable
container_name: domoticz
restart: unless-stopped
depends_on:
- mosquitto
networks:
myNetwork:
ipv4_address: DOMOTICZ-IP
ports:
- "8080:8080"
volumes:
- /srv/dev-disk-by-uuid-36662cd8-800d-4017-83bc-40f63d06148e/domoticz:/opt/domoticz/userdata
mosquitto:
image: eclipse-mosquitto
container_name: mosquitto
restart: always
volumes:
- /srv/dev-disk-by-uuid-36662cd8-800d-4017-83bc-40f63d06148e/mqtt/config:/mosquitto/config
- /srv/dev-disk-by-uuid-36662cd8-800d-4017-83bc-40f63d06148e/mqtt/data:/mosquitto/data
- /srv/dev-disk-by-uuid-36662cd8-800d-4017-83bc-40f63d06148e/mqtt/log:/mosquitto/log
networks:
myNetwork:
ipv4_address: MQTT-IP
ports:
- 1883:1883
- 9001:9001
stdin_open: true
tty: true
homebridge:
image: homebridge/homebridge:ubuntu
container_name: homebridge-dz
restart: always
depends_on:
- domoticz
# network_mode: host
networks:
myNetwork:
ipv4_address: HOMEBRIDGE-IP #add ip here
ports:
- "1968:1968"
environment:
- HOMEBRIDGE_CONFIG_UI_PORT=1968
volumes:
- /srv/dev-disk-by-uuid-83b6a8f9-5b92-4b9f-ab73-81c3cf7cc424/homebridge:/homebridge
networks:
myNetwork:
external: true
name: myNetworkBut when I create a new dzevents script, all the templates are disappered.
How can I have them again?