### Example .env File for Standalone Docker Source: https://github.com/everythingsmarthome/everything-presence-addons/blob/main/everything-presence-mmwave-configurator/DOCS-DOCKER.md This example .env file demonstrates how to configure environment variables for the standalone Docker deployment. It includes optional and required variables for application port, firmware LAN port, Home Assistant URL, and a long-lived access token. ```bash ################ ### OPTIONAL ### ################ # These environment variables are OPTIONAL for Docker Compose but mandatory for Portainer. APP_PORT="42069" FIRMWARE_LAN_PORT="38080" # These environment variables are OPTIONAL. VERIFY_SSL="False" ################ ### REQUIRED ### ################ # These environment variables are REQUIRED for ALL standalone deployment types. HA_BASE_URL="http://homeassistant.local:8123" HA_LONG_LIVED_TOKEN="eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9..." ``` -------------------------------- ### Standalone Docker Image Tag Source: https://github.com/everythingsmarthome/everything-presence-addons/blob/main/everything-presence-mmwave-configurator/DOCS-DOCKER.md Use this tag for the standalone non-Home Assistant OS installs. ```yaml everythingsmarthome/everything-presence-mmwave-configurator:latest ``` -------------------------------- ### Docker Run with .env file Source: https://github.com/everythingsmarthome/everything-presence-addons/blob/main/everything-presence-mmwave-configurator/DOCS-DOCKER.md This command deploys the configurator using `docker run` and an external `.env` file for configuration. Ensure the mapped ports match your FIRMWARE_LAN_PORT setting. ```bash docker run -d \ --name everything-presence-mmwave-configurator \ --restart unless-stopped \ --env-file .env \ -p 42069:42069 \ -p 38080:38080 \ -v "$(pwd)/config:/config" \ everythingsmarthome/everything-presence-mmwave-configurator:latest ``` -------------------------------- ### Docker Run without .env file Source: https://github.com/everythingsmarthome/everything-presence-addons/blob/main/everything-presence-mmwave-configurator/DOCS-DOCKER.md This command deploys the configurator using `docker run` without an `.env` file, specifying all environment variables directly. Ensure the mapped ports match your FIRMWARE_LAN_PORT setting. ```bash docker run -d \ --name everything-presence-mmwave-configurator \ --restart unless-stopped \ -p 42069:42069 \ -p 38080:38080 \ -e HA_BASE_URL="http://homeassistant.local:8123" \ -e HA_LONG_LIVED_TOKEN="YOUR_TOKEN_HERE" \ -e FIRMWARE_LAN_PORT="38080" \ -v "$(pwd)/config:/config" \ everythingsmarthome/everything-presence-mmwave-configurator:latest ``` -------------------------------- ### Portainer Stack Configuration Source: https://github.com/everythingsmarthome/everything-presence-addons/blob/main/everything-presence-mmwave-configurator/DOCS-DOCKER.md This YAML configuration is intended for use within Portainer to create a new stack. Note that Portainer does not support default values like `${VARIABLE:-DEFAULT}`, so all variables must be explicitly set in the Portainer UI. ```yaml services: zone-configurator: image: everythingsmarthome/everything-presence-mmwave-configurator:latest container_name: everything-presence-mmwave-configurator restart: unless-stopped ports: - "${APP_PORT:-42069}:42069" - "${FIRMWARE_LAN_PORT:-38080}:${FIRMWARE_LAN_PORT:-38080}" environment: HA_BASE_URL: "${HA_BASE_URL:-http://homeassistant.local:8123}" HA_LONG_LIVED_TOKEN: "${HA_LONG_LIVED_TOKEN}" FIRMWARE_LAN_PORT: "${FIRMWARE_LAN_PORT:-38080}" volumes: - epzone-config:/config volumes: epzone-config: driver: local ``` -------------------------------- ### Docker Compose Configuration with .env Source: https://github.com/everythingsmarthome/everything-presence-addons/blob/main/everything-presence-mmwave-configurator/DOCS-DOCKER.md Use this configuration with Docker Compose when utilizing a .env file for environment variables. Ensure the FIRMWARE_LAN_PORT in the docker-compose.yaml matches the one set in your .env file. ```yaml services: zone-configurator: image: everythingsmarthome/everything-presence-mmwave-configurator:latest container_name: everything-presence-mmwave-configurator restart: unless-stopped ports: - "${APP_PORT:-42069}:42069" - "${FIRMWARE_LAN_PORT:-38080}:${FIRMWARE_LAN_PORT:-38080}" environment: HA_BASE_URL: "${HA_BASE_URL:-http://homeassistant.local:8123}" HA_LONG_LIVED_TOKEN: "${HA_LONG_LIVED_TOKEN}" FIRMWARE_LAN_PORT: "${FIRMWARE_LAN_PORT:-38080}" volumes: - ./config:/config ``` -------------------------------- ### Docker Compose with Named Volume Source: https://github.com/everythingsmarthome/everything-presence-addons/blob/main/everything-presence-mmwave-configurator/DOCS-DOCKER.md This Docker Compose snippet demonstrates how to use a named volume for configuration storage instead of a local directory. Ensure the named volume is defined. ```yaml services: zone-configurator: # Everything from before... volumes: # Add the named volume here. - epzone-config:/config # Create a named volume. volumes: epzone-config: driver: local ``` === COMPLETE CONTENT === This response contains all available snippets from this library. No additional content exists. Do not make further requests.