11#
2- # Copyright 2015-2016 Jeeva Kandasamy ([email protected] )2+ # Copyright 2015-2017 Jeeva Kandasamy ([email protected] )33# and other contributors as indicated by the @author tags.
44#
55# Licensed under the Apache License, Version 2.0 (the "License");
@@ -32,12 +32,48 @@ mcc.tmp.location=tmp/
3232mcc.resources.location =../conf/resources/
3333
3434# ========================================================================
35- # Database
36- # Where do you want to keep your database.
35+ # Database settings
3736# It is highly recommended to take a backup of this db on upgrade.
38- # Database: H2DB, location and name, example:/tmp/mycontroller
37+ # MyController only supports database backup for H2DB(only on same host)
38+ # For other databases users has to manage backup and restore of database
39+ # mcc.db.backup.include: Include database backup along with
40+ # MyController backup. Supports only for H2DB on same host.
41+ # If MyController is running on embedded database mode, this parameter
42+ # will be ignored and backup includes database also.
43+ # mcc.db.type: Select database types
44+ # Supported types: H2DB_EMBEDDED, H2DB, MYSQL, POSTGRESQL, MARIADB
3945# ========================================================================
40- mcc.db.h2db.location =../conf/mycontroller
46+ mcc.db.backup.include =true
47+
48+ # H2DB Embedded settings
49+ mcc.db.type =H2DB_EMBEDDED
50+ mcc.db.url =jdbc:h2:file:../conf/mycontroller;MVCC=TRUE
51+ mcc.db.username =mycontroller
52+ mcc.db.password =mycontroller
53+
54+ # H2DB on TCP settings - Sample
55+ # mcc.db.type=H2DB
56+ # mcc.db.url=jdbc:h2:tcp://localhost//tmp/mycontroller;MVCC=TRUE
57+ # mcc.db.username=mycontroller
58+ # mcc.db.password=mycontroller
59+
60+ # MariaDB settings - Sample
61+ # mcc.db.type=MARIADB
62+ # mcc.db.url=jdbc:mariadb://127.0.0.1:3306/mycontroller
63+ # mcc.db.username=mycontroller
64+ # mcc.db.password=mycontroller
65+
66+ # PostgreSQL settings - Sample
67+ # mcc.db.type=POSTGRESQL
68+ # mcc.db.url=jdbc:postgresql://localhost:5432/mycontroller
69+ # mcc.db.username=mycontroller
70+ # mcc.db.password=mycontroller
71+
72+ # MySQL settings - Sample
73+ # mcc.db.type=MYSQL
74+ # mcc.db.url=jdbc:mysql://localhost:3306/mycontroller
75+ # mcc.db.username=mycontroller
76+ # mcc.db.password=mycontroller
4177
4278# ========================================================================
4379# Web Application server configuration
@@ -57,9 +93,22 @@ mcc.web.ssl.keystore.password=mycontroller
5793mcc.web.ssl.keystore.type =JKS
5894
5995# ========================================================================
60- # Inbuilt MQTT Broker settings
61- # Refer GUI for more settings, GUI: [Settings >> MQTT broker]
96+ # MyController persistent stores location.
97+ # This store used to keep off-heap data.
98+ # It keeps data like messages queue, MQTT broker data, etc.
99+ # If you want to keep execute old data that not processed on shutdown
100+ # set false on mcc.clear.message.queue.on.start
101+ # If you want to keep smart sleep messages on MyController reboot,
102+ # set false on mcc.clear.smart.sleep.msg.queue.on.start
103+ # ========================================================================
104+ mcc.persistent.stores.location =../conf/persistent_stores/
105+ mcc.clear.message.queue.on.start =true
106+ mcc.clear.smart.sleep.msg.queue.on.start =true
107+
108+ # ========================================================================
109+ # MyController mDNS service settings
110+ # Enable or disable mDNS service
62111# ========================================================================
63- mcc.mqtt.broker.persistent.store = ../conf/moquette/moquette_store.mapdb
112+ mcc.mdns.service.enable = false
64113
65114# logger configuration - logback.xml
0 commit comments