version: "3.7"

services:
  app_proxy:
    environment:
      APP_HOST: esphome_server_1
      APP_PORT: 6052

  server:
    image: esphome/esphome:2023.2.4@sha256:8428b83a5713e79bad44bc2f3c740a3dc3d446dc5bb08643dfdca4dda31c2b5d
    volumes:
      - ${APP_DATA_DIR}/data:/config
    restart: on-failure
