1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/emoncms_ynh.git synced 2024-09-03 18:36:03 +02:00
emoncms_ynh/conf/example.settings.ini

77 lines
2.2 KiB
INI
Raw Normal View History

2022-01-02 23:03:52 +01:00
; -----------------------------------------------------
; Example emoncms settings.ini file
;
; default-settings.ini contains the default settings.
;
; Settings entered here override the default settings.
; Enter only the settings you wish to customise here.
;
; The following is a barebones example, copy across
; other settings from default-settings.ini as required
; Maintain the section structure (items in [])
; -----------------------------------------------------
; Set Emoncms installation domain here to secure installation e.g domain = myemoncmsinstall.org
domain = __DOMAIN__
; MYSQL Database settings
[sql]
server = "localhost"
database = "__DB_NAME__"
username = "__DB_USER__"
password = "__DB_PWD__"
; Skip database setup test - set to false once database has been setup.
dbtest = true
; Redis Database (used as a cache for improved performance)
[redis]
enabled = false
; MQTT Used with emoncms_mqtt service to send and receive data over MQTT
; If MQTT settings are changed reboot or execute "sudo systemctl restart emoncms_mqtt.service"
[mqtt]
enabled = false
user = 'username'
password = 'password'
; Feed engine settings
[feed]
; Supported engines. List engines by id to disable feed creation.
; Existing feeds with a hidden engine still work
; Recommended emoncms feed engines are PHPFINA and PHPTIMESERIES
; MYSQL:0, MYSQLMEMORY:8, PHPTIMESERIES:2, PHPFINA:5, CASSANDRA:10
engines_hidden = [0,10]
; Buffer data to be written to
redisbuffer[enabled] = false
2023-12-14 16:39:56 +01:00
phpfina[data_dir] = '__DATA_DIR__/phpfina/'
phptimeseries[data_dir] = '__DATA_DIR__/phptimeseries/'
2022-01-02 23:03:52 +01:00
; Enable the graph module if you have it installed
[interface]
feedviewpath = "graph/"
[public_profile]
; Emailer
; Requires SwiftMailer v5.4.8, To install:
; git -C /opt/emoncms/modules clone -b 'v5.4.8' --single-branch https://github.com/swiftmailer/swiftmailer.git
[smtp]
; Email address to email proccessed input values
;default_emailto = 'root@localhost'
;host = "smtp.gmail.com"
; 25, 465, 587
port = "25"
from_email = 'noreply@emoncms.org'
from_name = 'EmonCMS'
; Comment lines below that dont apply
; ssl, tls
;encryption = "ssl"
;username = "yourusername@gmail.com"
;password = "yourpassword"
[log]
; Log Level: 1=INFO, 2=WARN, 3=ERROR
level = 2