set fhem to network mode host + added firewall rules

This commit is contained in:
2022-11-06 08:49:58 +01:00
parent 345d9a340c
commit 641928adbf

View File

@@ -7,19 +7,11 @@ services:
fhem: fhem:
image: fhem/fhem:latest image: fhem/fhem:latest
container_name: fhem container_name: fhem
restart: always restart: unless-stopped
ports:
- "8083:8083"
- "7072:7072"
- "8090:8090"
volumes: volumes:
- fhem_opt:/opt/fhem/ - fhem_opt:/opt/fhem/
environment: environment:
TELNETPORT: 7072 TELNETPORT: 7072
TZ: Europe/Berlin TZ: Europe/Berlin
networks: network_mode: host
- nginx_network
networks:
nginx_network:
driver: bridge