Oficial Docker Container Topic is solved
Moderators: leecollings, remb0
-
- Posts: 234
- Joined: Sunday 27 August 2017 18:00
- Target OS: Raspberry Pi / ODroid
- Domoticz version: Beta
- Location: Spain
- Contact:
Re: Oficial Docker Container
hello to all
im try to setup fail2ban inside the docker container.
someone can try this??
i setup all as the tutorial of fail2ban but not works
im try to setup fail2ban inside the docker container.
someone can try this??
i setup all as the tutorial of fail2ban but not works
Re: Oficial Docker Container
Fail2ban uses logfiles, and those logfiles are not present inside the domoticz container.
You should setup fail2ban on the Raspberry OS itself.
You should setup fail2ban on the Raspberry OS itself.
-
- Posts: 234
- Joined: Sunday 27 August 2017 18:00
- Target OS: Raspberry Pi / ODroid
- Domoticz version: Beta
- Location: Spain
- Contact:
Re: Oficial Docker Container
Not exactly.
You can setup de logfiles in the domoticz container only editing one user variable. I have it in /etc/domoticz.txt
And i use docker in synology not raspberry
Re: Oficial Docker Container
Oke, you only want to protect the domoticz container with fail2ban.
Perhaps you could make a new container which include fail2ban and all of the dependencies.
Perhaps you could make a new container which include fail2ban and all of the dependencies.
-
- Posts: 234
- Joined: Sunday 27 August 2017 18:00
- Target OS: Raspberry Pi / ODroid
- Domoticz version: Beta
- Location: Spain
- Contact:
Re: Oficial Docker Container
now i have fail2ban teorically runing.
I install it, disable the sshd profile in the jail.conf
after this start service fail2ban, i monitor the state and check if really works. i will tell here
I install it, disable the sshd profile in the jail.conf
after this start service fail2ban, i monitor the state and check if really works. i will tell here
Re: Oficial Docker Container
You could also use a fail2ban synology container en monitor the domoticz.log file.
See: https://github.com/sosandroid/docker-fail2ban-synology
See: https://github.com/sosandroid/docker-fail2ban-synology
- bartplessers
- Posts: 12
- Joined: Sunday 28 July 2019 22:21
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Oficial Docker Container
Where is the location of the theme's if domoticz is running in docker?
My docker-compose:
to add a plugin, I did following
This worked for me, and plugin is available and working
However, to add a theme, following did NOT work
QUESTION
Where do I have to place my themes to get them available in domoticz?
kind regards,
Bart Plessers
My docker-compose:
Code: Select all
version: '3.3'
services:
domoticz:
image: domoticz/domoticz
container_name: domoticz
restart: unless-stopped
# Pass devices to container
# devices:
# - "/dev/serial/by-id/usb-0658_0200-if00:/dev/ttyACM0"
ports:
- "8080:8080"
volumes:
- ./config:/opt/domoticz/userdata
environment:
- TZ=Europe/Amsterdam
#- LOG_PATH=/opt/domoticz/userdata/domoticz.log
Code: Select all
cd /opt/domoticz/config/plugins
git clone https://github.com/stas-demydiuk/domoticz-zigbee2mqtt-plugin.git zigbee2mqtt
docker restart domoticz
However, to add a theme, following did NOT work
Code: Select all
cd /opt/domoticz/config/www/styles
git clone https://github.com/domoticz/machinon.git machinon
docker restart domoticz
Where do I have to place my themes to get them available in domoticz?
kind regards,
Bart Plessers
-
- Posts: 234
- Joined: Sunday 27 August 2017 18:00
- Target OS: Raspberry Pi / ODroid
- Domoticz version: Beta
- Location: Spain
- Contact:
Re: Oficial Docker Container
i find a solution but probably is not the best solution.
I map a folder in my local called themes and maped to the folder /themes2 in the container.
enter in the container and COPY all the files of origintal themes folder to my /themes2 folder
stop the container
change the maped folder and now my local themes maped to the original route in the container /themes
Now the themes folder are visible out of the container and you can put your personal themes and domoticz detect it
I map a folder in my local called themes and maped to the folder /themes2 in the container.
enter in the container and COPY all the files of origintal themes folder to my /themes2 folder
stop the container
change the maped folder and now my local themes maped to the original route in the container /themes
Now the themes folder are visible out of the container and you can put your personal themes and domoticz detect it
-
- Posts: 14
- Joined: Wednesday 08 March 2017 14:46
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 2021.1
- Location: NL
- Contact:
Re: Oficial Docker Container
Hi
Yesterday I did update the container.
Now is the screen view from everyting wrong
Version: 2021.1 (build 13689)
Build Hash: d29a27ffe
Compile Date: 2021-10-05 08:15:57
dzVents Version: 3.1.8
Python Version: 3.7.3 (default, Jan 22 2021, 20:04:44) [GCC 8.3.0]
Yesterday I did update the container.
Now is the screen view from everyting wrong
Version: 2021.1 (build 13689)
Build Hash: d29a27ffe
Compile Date: 2021-10-05 08:15:57
dzVents Version: 3.1.8
Python Version: 3.7.3 (default, Jan 22 2021, 20:04:44) [GCC 8.3.0]
- Attachments
-
- Naamloos.jpg (289.91 KiB) Viewed 10075 times
Last edited by antonlamers on Wednesday 06 October 2021 12:17, edited 1 time in total.
Greating,
Anton
Version: 2023.2
Build Hash: 19efd039c
Compile Date: 2023-07-21 17:23:44
dzVents Version: 3.1.8
Python Version: 3.9.2 (default, Feb 28 2021, 17:03:44) [GCC 10.2.1 20210110]
Anton
Version: 2023.2
Build Hash: 19efd039c
Compile Date: 2023-07-21 17:23:44
dzVents Version: 3.1.8
Python Version: 3.9.2 (default, Feb 28 2021, 17:03:44) [GCC 10.2.1 20210110]
-
- Posts: 234
- Joined: Sunday 27 August 2017 18:00
- Target OS: Raspberry Pi / ODroid
- Domoticz version: Beta
- Location: Spain
- Contact:
Re: Oficial Docker Container
same for me, i think its a cache failure. but i not have time to clear it in the brower and test again
-
- Posts: 14
- Joined: Wednesday 08 March 2017 14:46
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 2021.1
- Location: NL
- Contact:
Re: Oficial Docker Container
I don't think it's a cache failure, because it's also on the phone and other computers
Greating,
Anton
Version: 2023.2
Build Hash: 19efd039c
Compile Date: 2023-07-21 17:23:44
dzVents Version: 3.1.8
Python Version: 3.9.2 (default, Feb 28 2021, 17:03:44) [GCC 10.2.1 20210110]
Anton
Version: 2023.2
Build Hash: 19efd039c
Compile Date: 2023-07-21 17:23:44
dzVents Version: 3.1.8
Python Version: 3.9.2 (default, Feb 28 2021, 17:03:44) [GCC 10.2.1 20210110]
-
- Posts: 234
- Joined: Sunday 27 August 2017 18:00
- Target OS: Raspberry Pi / ODroid
- Domoticz version: Beta
- Location: Spain
- Contact:
Re: Oficial Docker Container
still have this problem in 13703
- waltervl
- Posts: 5148
- Joined: Monday 28 January 2019 18:48
- Target OS: Linux
- Domoticz version: 2024.7
- Location: NL
- Contact:
Re: Oficial Docker Container
Try with browser in incognito/privacy mode. If it works you have to clear your browser cache (see my signature for a link to the instruction)
Domoticz running on Udoo X86 (on Ubuntu)
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
- waltervl
- Posts: 5148
- Joined: Monday 28 January 2019 18:48
- Target OS: Linux
- Domoticz version: 2024.7
- Location: NL
- Contact:
Re: Oficial Docker Container
Are you using the default theme as some custom theme like machinon and aurora were not working anymore due to a change in theme processing. If you are on default theme then this change is not docker compatible it seems.
Domoticz running on Udoo X86 (on Ubuntu)
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
- waltervl
- Posts: 5148
- Joined: Monday 28 January 2019 18:48
- Target OS: Linux
- Domoticz version: 2024.7
- Location: NL
- Contact:
Re: Oficial Docker Container
I made a note in Github issue https://github.com/domoticz/domoticz/issues/4960
Could be the same issue...
Could be the same issue...
Domoticz running on Udoo X86 (on Ubuntu)
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
- waltervl
- Posts: 5148
- Joined: Monday 28 January 2019 18:48
- Target OS: Linux
- Domoticz version: 2024.7
- Location: NL
- Contact:
Re: Oficial Docker Container
Please note that you can now also use Stable 2021.1 in docker (although I do not know how to load that)
https://hub.docker.com/r/domoticz/domoticz/tags
https://hub.docker.com/r/domoticz/domoticz/tags
Domoticz running on Udoo X86 (on Ubuntu)
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
-
- Posts: 234
- Joined: Sunday 27 August 2017 18:00
- Target OS: Raspberry Pi / ODroid
- Domoticz version: Beta
- Location: Spain
- Contact:
Re: Oficial Docker Container
in synology when you download the image, you can select the stable tag. the latest is the beta.waltervl wrote: ↑Thursday 14 October 2021 16:05 Please note that you can now also use Stable 2021.1 in docker (although I do not know how to load that)
https://hub.docker.com/r/domoticz/domoticz/tags
where do you use docker?
- waltervl
- Posts: 5148
- Joined: Monday 28 January 2019 18:48
- Target OS: Linux
- Domoticz version: 2024.7
- Location: NL
- Contact:
Re: Oficial Docker Container
I do not use docker, just bringing the news.....
As the developer of the new tags is not documenting it I hope someone here knows how to use this
The documentation is on Github https://github.com/domoticz/domoticz-docker
As the developer of the new tags is not documenting it I hope someone here knows how to use this
The documentation is on Github https://github.com/domoticz/domoticz-docker
Domoticz running on Udoo X86 (on Ubuntu)
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
Who is online
Users browsing this forum: No registered users and 0 guests