You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

37 lines
1.3 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, see this [list](https://en.wikipedia.org/wiki/List_of_tz_database_time_zones#List).
- 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