mirror of
https://github.com/Telecominfraproject/wlan-cloud-ucentralfms.git
synced 2025-10-29 09:52:20 +00:00
119 lines
4.1 KiB
Cheetah
119 lines
4.1 KiB
Cheetah
#
|
|
# uCentral protocol server for devices. This is where you point
|
|
# all your devices. You can replace the * for address by the specific
|
|
# address of one of your interfaces
|
|
#
|
|
|
|
#
|
|
# REST API access
|
|
#
|
|
openwifi.restapi.host.0.backlog = 100
|
|
openwifi.restapi.host.0.security = relaxed
|
|
openwifi.restapi.host.0.rootca = ${RESTAPI_HOST_ROOTCA}
|
|
openwifi.restapi.host.0.address = *
|
|
openwifi.restapi.host.0.port = ${RESTAPI_HOST_PORT}
|
|
openwifi.restapi.host.0.cert = ${RESTAPI_HOST_CERT}
|
|
openwifi.restapi.host.0.key = ${RESTAPI_HOST_KEY}
|
|
openwifi.restapi.host.0.key.password = ${RESTAPI_HOST_KEY_PASSWORD}
|
|
|
|
openwifi.internal.restapi.host.0.backlog = 100
|
|
openwifi.internal.restapi.host.0.security = relaxed
|
|
openwifi.internal.restapi.host.0.rootca = ${INTERNAL_RESTAPI_HOST_ROOTCA}
|
|
openwifi.internal.restapi.host.0.address = *
|
|
openwifi.internal.restapi.host.0.port = ${INTERNAL_RESTAPI_HOST_PORT}
|
|
openwifi.internal.restapi.host.0.cert = ${INTERNAL_RESTAPI_HOST_CERT}
|
|
openwifi.internal.restapi.host.0.key = ${INTERNAL_RESTAPI_HOST_KEY}
|
|
openwifi.internal.restapi.host.0.key.password = ${INTERNAL_RESTAPI_HOST_KEY_PASSWORD}
|
|
|
|
#
|
|
# Generic section that all microservices must have
|
|
#
|
|
openwifi.service.key = ${SERVICE_KEY}
|
|
openwifi.service.key.password = ${SERVICE_KEY_PASSWORD}
|
|
openwifi.system.data = ${SYSTEM_DATA}
|
|
openwifi.system.debug = false
|
|
openwifi.system.uri.private = ${SYSTEM_URI_PRIVATE}
|
|
openwifi.system.uri.public = ${SYSTEM_URI_PUBLIC}
|
|
openwifi.system.commandchannel = /tmp/app.ucentralfms
|
|
openwifi.system.uri.ui = ${SYSTEM_URI_UI}
|
|
openwifi.security.restapi.disable = ${SECURITY_RESTAPI_DISABLE}
|
|
|
|
firmwaredb.refresh = ${FIRMWAREDB_REFRESH}
|
|
firmwaredb.maxage = ${FIRMWAREDB_MAXAGE}
|
|
|
|
#
|
|
# Firmware Microservice Specific Section
|
|
#
|
|
s3.useVirtualAdressing = ${S3_VIRTUAL_ADRESSING}
|
|
s3.endpointOverride = ${S3_ENDPOINT}
|
|
s3.endpoint.https = ${S3_HTTPS}
|
|
s3.bucketname = ${S3_BUCKETNAME}
|
|
s3.region = ${S3_REGION}
|
|
s3.secret = ${S3_SECRET}
|
|
s3.key = ${S3_KEY}
|
|
s3.retry = 60
|
|
s3.bucket.uri = ${S3_BUCKET_URI}
|
|
|
|
#############################
|
|
# Generic information for all micro services
|
|
#############################
|
|
#
|
|
# NLB Support
|
|
#
|
|
alb.enable = true
|
|
alb.port = 16104
|
|
|
|
#
|
|
# Kafka
|
|
#
|
|
openwifi.kafka.group.id = firmware
|
|
openwifi.kafka.client.id = firmware1
|
|
openwifi.kafka.enable = ${KAFKA_ENABLE}
|
|
openwifi.kafka.brokerlist = ${KAFKA_BROKERLIST}
|
|
openwifi.kafka.auto.commit = false
|
|
openwifi.kafka.queue.buffering.max.ms = 50
|
|
openwifi.kafka.ssl.ca.location = ${KAFKA_SSL_CA_LOCATION}
|
|
openwifi.kafka.ssl.certificate.location = ${KAFKA_SSL_CERTIFICATE_LOCATION}
|
|
openwifi.kafka.ssl.key.location = ${KAFKA_SSL_KEY_LOCATION}
|
|
openwifi.kafka.ssl.key.password = ${KAFKA_SSL_KEY_PASSWORD}
|
|
|
|
#
|
|
# This section select which form of persistence you need
|
|
# Only one selected at a time. If you select multiple, this service will die if a horrible
|
|
# death and might make your beer flat.
|
|
#
|
|
storage.type = ${STORAGE_TYPE}
|
|
|
|
storage.type.sqlite.db = firmware.db
|
|
storage.type.sqlite.idletime = 120
|
|
storage.type.sqlite.maxsessions = 128
|
|
|
|
storage.type.postgresql.maxsessions = 64
|
|
storage.type.postgresql.idletime = 60
|
|
storage.type.postgresql.host = ${STORAGE_TYPE_POSTGRESQL_HOST}
|
|
storage.type.postgresql.username = ${STORAGE_TYPE_POSTGRESQL_USERNAME}
|
|
storage.type.postgresql.password = ${STORAGE_TYPE_POSTGRESQL_PASSWORD}
|
|
storage.type.postgresql.database = ${STORAGE_TYPE_POSTGRESQL_DATABASE}
|
|
storage.type.postgresql.port = ${STORAGE_TYPE_POSTGRESQL_PORT}
|
|
storage.type.postgresql.connectiontimeout = 60
|
|
|
|
storage.type.mysql.maxsessions = 64
|
|
storage.type.mysql.idletime = 60
|
|
storage.type.mysql.host = ${STORAGE_TYPE_MYSQL_HOST}
|
|
storage.type.mysql.username = ${STORAGE_TYPE_MYSQL_USERNAME}
|
|
storage.type.mysql.password = ${STORAGE_TYPE_MYSQL_PASSWORD}
|
|
storage.type.mysql.database = ${STORAGE_TYPE_MYSQL_DATABASE}
|
|
storage.type.mysql.port = ${STORAGE_TYPE_MYSQL_PORT}
|
|
storage.type.mysql.connectiontimeout = 60
|
|
|
|
|
|
########################################################################
|
|
########################################################################
|
|
#
|
|
# Logging: please leave as is for now.
|
|
#
|
|
########################################################################
|
|
logging.type = console
|
|
logging.path = $OWFMS_ROOT/logs
|
|
logging.level = debug
|