# Copy to .env and adjust. All values are optional; sane defaults apply.

# Host port the dashboard is published on.
IDOCK_PORT=8800

# Leave blank to auto-generate & persist a signing secret on first run.
# Set explicitly (e.g. `openssl rand -base64 48`) when running multiple replicas.
IDOCK_SECRET_KEY=

# Set true only when serving strictly behind HTTPS (marks the session cookie Secure).
IDOCK_SESSION_HTTPS_ONLY=false

# Externally-reachable base URL clients use (e.g. https://idock.example.com).
# Leave blank to auto-detect the host's LAN IP for the Deploy Agent command.
IDOCK_PUBLIC_URL=

# --- Auto-discovery / staging queue ---
IDOCK_DISCOVERY_ENABLED=true
IDOCK_DISCOVERY_INTERVAL=30
IDOCK_DISCOVERY_INCLUDE_LOCAL=true
# Remote Docker API endpoints to probe and stage, comma separated, e.g.:
# IDOCK_DISCOVERY_TARGETS=tcp://10.0.0.10:2375,tcp://10.0.0.11:2375
IDOCK_DISCOVERY_TARGETS=
# Containers carrying `<label>=true` skip the staging queue automatically.
IDOCK_BYPASS_LABEL=synapse.idock.enabled
