Replace Traefik with Caddy as proxy
This commit is contained in:
parent
fdd4b6faf1
commit
a3944d3867
10 changed files with 69 additions and 122 deletions
|
@ -10,10 +10,6 @@ services:
|
|||
restart: unless-stopped
|
||||
network_mode: host
|
||||
labels:
|
||||
- "traefik.enable=true"
|
||||
- "traefik.http.routers.hassi.rule=Host(`hassi.${DOMAIN}`)"
|
||||
- "traefik.http.routers.hassi.entrypoints=web"
|
||||
- "traefik.http.services.hassi.loadbalancer.server.port=8123"
|
||||
- "docker.group=smartHome"
|
||||
|
||||
|
||||
|
@ -29,6 +25,8 @@ services:
|
|||
- ./mosquitto.conf:/mosquitto/config/mosquitto.conf
|
||||
- ${VOLUMES_PATH}/smartHome/mosquitto/data:/mosquitto/data
|
||||
- ${VOLUMES_PATH}/smartHome/mosquitto/log:/mosquitto/log
|
||||
labels:
|
||||
- "docker.group=smartHome"
|
||||
|
||||
|
||||
zigbee2mqtt:
|
||||
|
@ -45,10 +43,6 @@ services:
|
|||
- web
|
||||
- smarthome
|
||||
labels:
|
||||
- "traefik.enable=true"
|
||||
- "traefik.http.routers.zigbee2mqtt.rule=Host(`zigbee2mqtt.${DOMAIN}`)"
|
||||
- "traefik.http.routers.zigbee2mqtt.entrypoints=web"
|
||||
- "traefik.http.services.zigbee2mqtt.loadbalancer.server.port=8080"
|
||||
- "docker.group=smartHome"
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue