Skip to content

Instantly share code, notes, and snippets.

@cyantarek
Last active October 17, 2022 07:29
Show Gist options
  • Save cyantarek/07548f7352a8e35d0ed67bc64a6ec243 to your computer and use it in GitHub Desktop.
Save cyantarek/07548f7352a8e35d0ed67bc64a6ec243 to your computer and use it in GitHub Desktop.
[log]
level = debug
[rest]
port = 8000
[security]
service_key = "dummy-service-key"
[database]
dsn = "host=localhost user=engine dbname=engine sslmode=disable password=engine"
[nats]
nats_url = nats://localhost:4222
[influx_db]
address = http://localhost:8086
db_name = engine
user = engine
password = engine
[influx_db.retention_policies]
# must be in milliseconds, values below represent 2d
receptions_data = 172800000
devices_data = 172800000
raw_logs = 172800000
[services]
iam = http://localhost:8001
engine = http://localhost:8000
driver_registry = http://localhost:8005
tsdb = http://localhost:8006
[mqtt]
# internal server
server = tcp://127.0.0.1:1883
# external host, if the host has ssl user `wss` protocol
public_host = ws://127.0.0.1:8080/mqtt
username = admin
password = admin
qos = 1
[tracing]
enabled = false
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment