Configure your Zenso container deployment through standard environment variables defined in your .env file.
| Variable |
Default |
Purpose |
PORT |
3000 |
Port on which the API listens for panel and device connections. |
DATABASE_URL |
— |
Connection string for PostgreSQL (e.g. postgresql://user:pass@host:5432/db). |
FRONTEND_URL |
http://localhost:8080 |
Canonical URL of the panel used for CORS validation and invite links. |
SESSION_SECRET |
— |
Secure cryptographic salt for signing session tokens. |
| Variable |
Default |
Description |
ZENSO_ALLOW_PRIVATE_NETWORKS |
false |
When set to true, permits widgets and plugins to query internal RFC1918 IPs (e.g. Home Assistant at 192.168.1.50) without triggering SSRF protection blocks. |