User Tools

Site Tools


software:esphome

This is an old revision of the document!


ESPHome

Running on a different network

name: esphome
services:
    esphome:
        dns:
          - 192.168.1.1 # dns in the network with the ESPHome devices
        # extra_hosts: # this is not necessary if the DNS can answer queries for the correct network/host
        #   - "esphome-web-69f66a.local:192.168.1.206"
        environment:
          - TZ=America/Vancouver
        ports:
            - 6052:6052
        environment:
            - ESPHOME_DASHBOARD_USE_PING=true
        volumes:
            - esphome-config:/config
        stdin_open: true
        tty: true
        image: ghcr.io/esphome/esphome

volumes:
    esphome-config:
software/esphome.1771707002.txt · Last modified: (external edit)