Files
frigate-smtp/docker/docker-compose.yaml
Undercover Computing 8a1779181c improved efficiency
2025-08-30 17:07:23 +12:00

22 lines
1.3 KiB
YAML

services:
frigate-smtp:
build: . # Build image from local Dockerfile in current directory
container_name: frigate-smtp # Set container name for easier management
image: frigate-smtp # Name of the Docker image
restart: unless-stopped # Automatically restart container unless manually stopped
environment: # Environment variables to configure the service
SMTP_SERVER: smtp.example.com # SMTP server address for sending emails
SMTP_PORT: 587 # SMTP server port (usually 587 for TLS)
SMTP_USERNAME: user@example.com # SMTP username for authentication
SMTP_PASSWORD: yourpassword # SMTP password for authentication
EMAIL_FROM: user@example.com # Sender email address
EMAIL_TO: you@example.com,friend@example.com # Recipient email addresses (comma-separated)
HOMEASSISTANT_URL: https://ha.domain.com # URL to Home Assistant instance (external) (Without a slash at the end)
HOMEASSISTANT_IP: http://ha-ip:8123 # Home Assistant internal IP URL
MQTT_BROKER_IP: mqtt-ip # MQTT broker IP address
MQTT_PORT: 1883 # MQTT broker port
MQTT_USERNAME: mqttuser # MQTT username for authentication
MQTT_PASSWORD: mqttpass # MQTT password for authentication
volumes:
- ./alert_rules.json:/app/alert_rules.json:ro