From e6755e554eb16920e230181a4c68d967ffd2bb9a Mon Sep 17 00:00:00 2001 From: RobbStarkAustria Date: Sat, 25 Oct 2025 18:01:15 +0200 Subject: [PATCH] Add .env.template with placeholders (remove sensitive info) --- .env.template | 38 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100644 .env.template diff --git a/.env.template b/.env.template new file mode 100644 index 0000000..4871df9 --- /dev/null +++ b/.env.template @@ -0,0 +1,38 @@ +# Infoscreen Client configuration template +# Copy this file to .env and fill in values appropriate for your environment. + +# Environment +ENV=development # development | production +DEBUG_MODE=0 # 1 to enable debug mode +LOG_LEVEL=INFO # DEBUG | INFO | WARNING | ERROR + +# MQTT Broker Configuration +# Replace with your MQTT broker hostname or IP. Do NOT commit real credentials. +MQTT_BROKER= +MQTT_PORT=1883 + +# Timing Configuration (seconds) +HEARTBEAT_INTERVAL=60 +SCREENSHOT_INTERVAL=180 +DISPLAY_CHECK_INTERVAL=15 + +# File/API Server (used to download presentation files) +# If event URLs use host 'server', the client rewrites them to this server. +# You can either set FILE_SERVER_BASE_URL (preferred) or FILE_SERVER_HOST+PORT+SCHEME. +FILE_SERVER_HOST= +FILE_SERVER_PORT=8000 +FILE_SERVER_SCHEME=http +# FILE_SERVER_BASE_URL=http://:8000 # optional, takes precedence + +# Optional: MQTT authentication (if your broker requires username/password) +#MQTT_USERNAME= +#MQTT_PASSWORD= + +# Optional TLS settings (if using secure MQTT) +#MQTT_TLS_CA_CERT= +#MQTT_TLS_CERT= +#MQTT_TLS_KEY= + +# Notes: +# - Keep actual secrets and host-specific values in a local .env file that is NOT committed. +# - This template is safe to check into version control.