docker-bits/lsio/domoticz/docker-compose.yaml
2022-04-02 00:45:58 +00:00

37 lines
1.2 KiB
YAML

# [Domoticz](https://www.domoticz.com) is a Home Automation System that lets you
# monitor and configure various devices like: Lights, Switches, various
# sensors/meters like Temperature, Rain, Wind, UV, Electra, Gas, Water and much
# more. Notifications/Alerts can be sent to any mobile device.
---
version: "2.1"
services:
domoticz:
image: ghcr.io/linuxserver/domoticz
container_name: domoticz
environment:
# for UserID
- PUID=${PUID:-1024}
# for GroupID
- PGID=${PGID:-100}
# Specify a timezone to use for example Europe/Amsterdam
- TZ=${TZ:-Europe/Amsterdam}
# Sets webroot to domoticz for usage with subfolder reverse proxy. Not needed unless reverse proxying.
- WEBROOT=domoticz # optional
# Sets path to database. Do not set unless you know what this does.
- DBASE=<path to database> # optional
volumes:
# Where Domoticz stores config files and data.
- ${BASEDIR:-/volume1/docker}/domoticz/config:/config
ports:
# WebUI
- 8080:8080
# Domoticz communication port.
- 6144:6144
# Domoticz communication port.
- 1443:1443
devices:
# For passing through USB devices.
- path to device:path to device
restart: unless-stopped