Skip to content

jakezp/emoncms

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Emoncms with mqtt input configured

Emoncms is a powerful open-source web-app for processing, logging and visualizing energy, temperature and other environmental data. Emoncms with mqtt_input configured

Run with:

docker run -d --name='emoncms-mqtt' --net='bridge' \
          -e 'MYSQL_PASSWORD'='password' \
          -e 'MQTT_HOST'='host_ip' \
          -e 'MQTT_PORT'='1883' \
          -e 'MQTT_USER'='username' \
          -e 'MQTT_PASS'='password' \
          -e 'EMAIL_TO'='to_address@example.com' \
          -e 'EMAIL_FROM'='from_address@example.com' \
          -e 'EMAIL_HOST'='smtp.example.com' \
          -e 'EMAIL_PORT'='25' \
          -e 'EMAIL_NAME'='EmonCMS Notifications' \
          -e 'EMAIL_ENCRYPT'='tls' \
          -e 'EMAIL_USER'='email_username' \
          -e 'EMAIL_PASS'='email_password' \
          -p '8080:80/tcp' \
          -v '/tmp/emoncms/etc/mysql':'/etc/mysql' \
          -v '/tmp/emoncms/mysql':'/var/lib/mysql' \
          -v '/tmp/emoncms/phpfiwa':'/var/lib/phpfiwa' \
          -v '/tmp/emoncms/phpfina':'/var/lib/phpfina' \
          -v '/tmp/emoncms/phptimeseries':'/var/lib/phptimeseries' \
          -v '/tmp/emoncms/html':'/var/www/html' \
          -v '/tmp/emoncms/crontabs':'/var/spool/cron/crontabs' \
          -v '/etc/localtime':'/etc/localtime':'ro' \
          jakezp/emoncms

Change:
MYSQL_PASSWORD - MySQL password
MQTT_HOST - MQTT hostname or IP (If MQTT_HOST is not specified, MQTT support will not be enabled)
MQTT_PORT - Optional. If not specified, 1883 will be configured.
MQTT_USER - Optional. If not specified, it will be left blank.
MQTT_PASS - Optional. If not specified, it will be left blank.
EMAIL_TO - To address - Required if EMAIL_FROM and EMAIL_HOST are specified.
EMAIL_FROM - If EMAIL_FROM and EMAIL_HOST is not specified, SMTP will be disabled.
EMAIL_HOST - If EMAIL_FROM and EMAIL_HOST is not specified, SMTP will be disabled.
EMAIL_PORT - 25, 465 or 587 - Required if EMAIL_FROM and EMAIL_HOST are specified.
EMAIL_NAME - From name - Optional.
EMAIL_ENCRYPT - ssl, tls - Optional. Will be disabled if not specified.
EMAIL_USER - SMTP server username - Optional. Will be disabled if not specified.
EMAIL_PASS - SMTP server password - Optional. Will be disabled if not specified.
/tmp/emoncms - preferred location on the host

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published