docker-bits/lsio/domoticz/docker-compose.yaml

37 lines
1.2 KiB
YAML
Raw Normal View History

2021-04-21 00:55:42 +00:00
# [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.
2021-04-10 10:16:29 +00:00
---
version: "2.1"
services:
domoticz:
image: ghcr.io/linuxserver/domoticz
container_name: domoticz
environment:
# for UserID
2022-04-02 00:45:58 +00:00
- PUID=${PUID:-1024}
# for GroupID
2021-04-10 10:16:29 +00:00
- PGID=${PGID:-100}
# Specify a timezone to use for example Europe/Amsterdam
2021-04-13 00:58:58 +00:00
- TZ=${TZ:-Europe/Amsterdam}
2021-04-10 10:16:29 +00:00
# Sets webroot to domoticz for usage with subfolder reverse proxy. Not needed unless reverse proxying.
- WEBROOT=domoticz # optional
2022-02-11 00:39:51 +00:00
# Sets path to database. Do not set unless you know what this does.
- DBASE=<path to database> # optional
2021-04-10 10:16:29 +00:00
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.
2021-11-29 01:05:29 +00:00
- path to device:path to device
2021-04-10 10:16:29 +00:00
restart: unless-stopped