Files
docker-compose/fhem/docker-compose.yml

25 lines
628 B
YAML

version: '2.2'
volumes:
fhem_opt:
services:
fhem:
image: fhem/fhem:latest
container_name: fhem
restart: unless-stopped
volumes:
- fhem_opt:/opt/fhem/
environment:
TELNETPORT: 7072
TZ: Europe/Berlin
network_mode: host
labels:
- "traefik.enable=true"
- "traefik.http.routers.fhem.rule=Host(`fhem.montana2000.freeddns.org`)"
- "traefik.http.routers.fhem.middlewares=fhem-auth"
- "traefik.http.middlewares.fhem-auth.basicauth.users=nils:$$apr1$$JDBG7p8k$$LB8y6/aKcNQ/ybLz7LXjY."
- "traefik.http.services.fhem-service.loadbalancer.server.port=8083"