kopia lustrzana https://github.com/linuxserver/docker-documentation
Bot Updating Documentation
rodzic
4587c4fa96
commit
6d07c47af5
|
@ -1,6 +1,9 @@
|
|||
---
|
||||
title: domoticz
|
||||
---
|
||||
<!-- DO NOT EDIT THIS FILE MANUALLY -->
|
||||
<!-- Please read the https://github.com/linuxserver/docker-domoticz/blob/master/.github/CONTRIBUTING.md -->
|
||||
|
||||
# [linuxserver/domoticz](https://github.com/linuxserver/docker-domoticz)
|
||||
|
||||
[](https://github.com/linuxserver/docker-domoticz)
|
||||
|
@ -14,7 +17,6 @@ title: domoticz
|
|||
[](https://ci-tests.linuxserver.io/linuxserver/domoticz/latest/index.html)
|
||||
|
||||
[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.
|
||||
|
||||
## Supported Architectures
|
||||
|
||||
Our images support multiple architectures such as `x86-64`, `arm64` and `armhf`. We utilise the docker manifest for multi-platform awareness. More information is available from docker [here](https://github.com/docker/distribution/blob/master/docs/spec/manifest-v2-2.md#manifest-list) and our announcement [here](https://blog.linuxserver.io/2019/02/21/the-lsio-pipeline-project/).
|
||||
|
@ -41,6 +43,11 @@ This image provides various versions that are available via tags. `latest` tag u
|
|||
| stable-3.815 | Old stable version. Will not be updated anymore! |
|
||||
| stable-3.5877 | Old stable version. Will not be updated anymore! |
|
||||
|
||||
## Application Setup
|
||||
|
||||
To configure Domoticz, go to the IP of your docker host on the port you configured (default 8080), and add your hardware in Setup > Hardware.
|
||||
The user manual is available at [www.domoticz.com](https://www.domoticz.com)
|
||||
|
||||
## Usage
|
||||
|
||||
Here are some example snippets to help you get started creating a container from this image.
|
||||
|
@ -74,7 +81,7 @@ services:
|
|||
|
||||
### docker cli
|
||||
|
||||
```
|
||||
```bash
|
||||
docker run -d \
|
||||
--name=domoticz \
|
||||
-e PUID=1000 \
|
||||
|
@ -102,7 +109,6 @@ usb 1-1.2: FTDI USB Serial Device converter now attached to ttyUSB0
|
|||
```
|
||||
As you can see above, the device node created is ttyUSB0. It does not say where, but it's almost always in /dev/. The correct tag for passing through this USB device is '--device /dev/ttyUSB0:/dev/ttyUSB0'
|
||||
|
||||
|
||||
## Parameters
|
||||
|
||||
Docker images are configured using parameters passed at runtime (such as those above). These parameters are separated by a colon and indicate `<external>:<internal>` respectively. For example, `-p 8080:80` would expose port `80` from inside the container to be accessible from the host's IP on port `8080` outside the container.
|
||||
|
@ -115,7 +121,6 @@ Docker images are configured using parameters passed at runtime (such as those a
|
|||
| `6144` | Domoticz communication port. |
|
||||
| `1443` | Domoticz communication port. |
|
||||
|
||||
|
||||
### Environment Variables (`-e`)
|
||||
|
||||
| Env | Function |
|
||||
|
@ -131,19 +136,19 @@ Docker images are configured using parameters passed at runtime (such as those a
|
|||
| :----: | --- |
|
||||
| `/config` | Where Domoticz stores config files and data. |
|
||||
|
||||
#### Device Mappings (`--device`)
|
||||
### Device Mappings (`--device`)
|
||||
|
||||
| Parameter | Function |
|
||||
| :-----: | --- |
|
||||
| `<path to device>` | For passing through USB devices. |
|
||||
|
||||
|
||||
## Environment variables from files (Docker secrets)
|
||||
|
||||
You can set any environment variable from a file by using a special prepend `FILE__`.
|
||||
|
||||
As an example:
|
||||
|
||||
```
|
||||
```bash
|
||||
-e FILE__PASSWORD=/run/secrets/mysecretpassword
|
||||
```
|
||||
|
||||
|
@ -154,7 +159,6 @@ Will set the environment variable `PASSWORD` based on the contents of the `/run/
|
|||
For all of our images we provide the ability to override the default umask settings for services started within the containers using the optional `-e UMASK=022` setting.
|
||||
Keep in mind umask is not chmod it subtracts from permissions based on it's value it does not add. Please read up [here](https://en.wikipedia.org/wiki/Umask) before asking for support.
|
||||
|
||||
|
||||
## User / Group Identifiers
|
||||
|
||||
When using volumes (`-v` flags), permissions issues can arise between the host OS and the container, we avoid this issue by allowing you to specify the user `PUID` and group `PGID`.
|
||||
|
@ -163,23 +167,17 @@ Ensure any volume directories on the host are owned by the same user you specify
|
|||
|
||||
In this instance `PUID=1000` and `PGID=1000`, to find yours use `id user` as below:
|
||||
|
||||
```
|
||||
```bash
|
||||
$ id username
|
||||
uid=1000(dockeruser) gid=1000(dockergroup) groups=1000(dockergroup)
|
||||
```
|
||||
|
||||
## Application Setup
|
||||
|
||||
To configure Domoticz, go to the IP of your docker host on the port you configured (default 8080), and add your hardware in Setup > Hardware.
|
||||
The user manual is available at [www.domoticz.com](https://www.domoticz.com)
|
||||
|
||||
|
||||
## Docker Mods
|
||||
|
||||
[](https://mods.linuxserver.io/?mod=domoticz "view available mods for this container.") [](https://mods.linuxserver.io/?mod=universal "view available universal mods.")
|
||||
|
||||
We publish various [Docker Mods](https://github.com/linuxserver/docker-mods) to enable additional functionality within the containers. The list of Mods available for this image (if any) as well as universal mods that can be applied to any one of our images can be accessed via the dynamic badges above.
|
||||
|
||||
|
||||
## Support Info
|
||||
|
||||
* Shell access whilst the container is running:
|
||||
|
|
Ładowanie…
Reference in New Issue