You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jan 1, 2024. It is now read-only.
The ARM variants can be built on x86_64 hardware using `multiarch/qemu-user-static`
109
-
```
109
+
110
+
```bash
110
111
docker run --rm --privileged multiarch/qemu-user-static:register --reset
111
112
```
112
113
113
114
Once registered you can define the dockerfile to use with `-f Dockerfile.aarch64`.
114
115
115
-
## Update the chagelog
116
+
## Update the changelog
116
117
117
118
If you are modifying the Dockerfiles or any of the startup scripts in [root](https://github.com/linuxserver/docker-domoticz/tree/master/root), add an entry to the changelog
[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.
@@ -68,6 +68,11 @@ This image provides various versions that are available via tags. `latest` tag u
68
68
| stable-3.815 | Old stable version. Will not be updated anymore! |
69
69
| stable-3.5877 | Old stable version. Will not be updated anymore! |
70
70
71
+
## Application Setup
72
+
73
+
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.
74
+
The user manual is available at [www.domoticz.com](https://www.domoticz.com)
75
+
71
76
## Usage
72
77
73
78
Here are some example snippets to help you get started creating a container.
@@ -101,7 +106,7 @@ services:
101
106
102
107
### docker cli
103
108
104
-
```
109
+
```bash
105
110
docker run -d \
106
111
--name=domoticz \
107
112
-e PUID=1000 \
@@ -129,7 +134,6 @@ usb 1-1.2: FTDI USB Serial Device converter now attached to ttyUSB0
129
134
```
130
135
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'
131
136
132
-
133
137
## Parameters
134
138
135
139
Container 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.
@@ -152,7 +156,7 @@ You can set any environment variable from a file by using a special prepend `FIL
152
156
153
157
As an example:
154
158
155
-
```
159
+
```bash
156
160
-e FILE__PASSWORD=/run/secrets/mysecretpassword
157
161
```
158
162
@@ -171,25 +175,17 @@ Ensure any volume directories on the host are owned by the same user you specify
171
175
172
176
In this instance `PUID=1000` and `PGID=1000`, to find yours use `id user` as below:
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.
184
-
The user manual is available at [www.domoticz.com](https://www.domoticz.com)
185
-
186
-
187
183
## Docker Mods
184
+
188
185
[](https://mods.linuxserver.io/?mod=domoticz"view available mods for this container.")[](https://mods.linuxserver.io/?mod=universal"view available universal mods.")
189
186
190
187
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.
191
188
192
-
193
189
## Support Info
194
190
195
191
* Shell access whilst the container is running: `docker exec -it domoticz /bin/bash`
@@ -206,38 +202,45 @@ Most of our images are static, versioned, and require an image update and contai
206
202
Below are the instructions for updating containers:
207
203
208
204
### Via Docker Compose
205
+
209
206
* Update all images: `docker-compose pull`
210
207
* or update a single image: `docker-compose pull domoticz`
211
208
* Let compose update all containers as necessary: `docker-compose up -d`
212
209
* or update a single container: `docker-compose up -d domoticz`
213
210
* You can also remove the old dangling images: `docker image prune`
214
211
215
212
### Via Docker Run
213
+
216
214
* Update the image: `docker pull ghcr.io/linuxserver/domoticz`
217
215
* Stop the running container: `docker stop domoticz`
218
216
* Delete the container: `docker rm domoticz`
219
217
* Recreate a new container with the same docker run parameters as instructed above (if mapped correctly to a host folder, your `/config` folder and settings will be preserved)
220
218
* You can also remove the old dangling images: `docker image prune`
221
219
222
220
### Via Watchtower auto-updater (only use if you don't remember the original parameters)
221
+
223
222
* Pull the latest image at its tag and replace it with the same env variables in one run:
224
-
```
223
+
224
+
```bash
225
225
docker run --rm \
226
226
-v /var/run/docker.sock:/var/run/docker.sock \
227
227
containrrr/watchtower \
228
228
--run-once domoticz
229
229
```
230
+
230
231
* You can also remove the old dangling images: `docker image prune`
231
232
232
233
**Note:** We do not endorse the use of Watchtower as a solution to automated updates of existing Docker containers. In fact we generally discourage automated updates. However, this is a useful tool for one-time manual updates of containers where you have forgotten the original parameters. In the long term, we highly recommend using [Docker Compose](https://docs.linuxserver.io/general/docker-compose).
* We recommend [Diun](https://crazymax.dev/diun/) for update notifications. Other tools that automatically update containers unattended are not recommended or supported.
236
238
237
239
## Building locally
238
240
239
241
If you want to make local modifications to these images for development purposes or just to customize the logic:
0 commit comments