Skip to content

Environment File

Example .env file for Docker Compose configuration to separately store the environment variables.

# Example env file for docker-compose.yaml
# Used by both the app itself and the healthcheck script

# To use these, add to config.yaml like ${oc.env:MQTT_HOST}

MQTT_HOST=192.168.0.1
MQTT_PORT=1883
MQTT_USER=my_mqtt_user
MQTT_PASS=my_mqtt_secret