im try to setup fail2ban inside the docker container.
someone can try this??
i setup all as the tutorial of fail2ban but not works

Moderators: leecollings, remb0
Not exactly.
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
Code: Select all
cd /opt/domoticz/config/www/styles
git clone https://github.com/domoticz/machinon.git machinon
docker restart domoticz
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
Users browsing this forum: No registered users and 0 guests