57 lines
1.9 KiB
YAML
57 lines
1.9 KiB
YAML
name: "MQTT Certificate Manager"
|
|
version: "0.4.0"
|
|
slug: "mqtt_cert_manager"
|
|
description: "Local CA that issues and manages TLS client certificates for MQTT nodes"
|
|
url: "https://gitea.viratak.com/bitopa/mqtt-cert-manager"
|
|
# Points Supervisor at a pre-built image instead of building locally on
|
|
# install. {arch} is substituted with each entry in "arch:" below (amd64,
|
|
# aarch64, ...) — Supervisor then pulls
|
|
# git.example.com/YOUR_USER/mqtt-cert-manager-amd64:0.1.0, etc.
|
|
# REPLACE git.example.com/YOUR_USER with your actual Gitea host + owner.
|
|
# Remove this line entirely to fall back to local building (e.g. while
|
|
# developing, before you've set up CI).
|
|
image: "gitea.viratak.com/bitopa/mqtt-cert-manager-{arch}"
|
|
# TEMPORARY: restricted to amd64 only while developing against a single
|
|
# Dell thin client. Restore the full list before publishing for others —
|
|
# see the commented-out entries below.
|
|
arch:
|
|
- amd64
|
|
# - aarch64
|
|
# - armv7
|
|
# - armhf
|
|
# - i386
|
|
init: false
|
|
ingress: true
|
|
ingress_port: 8099
|
|
panel_icon: mdi:certificate
|
|
panel_title: "MQTT Certificates"
|
|
|
|
# /ssl is Supervisor's shared certificate folder — mapped here so this
|
|
# add-on can write the broker's server cert/key + our CA cert where the
|
|
# Mosquitto add-on's certfile/keyfile/cafile options can find them.
|
|
map:
|
|
- ssl:rw
|
|
|
|
# Persistent add-on storage (CA key/cert, issued cert records) lives in /data,
|
|
# which Supervisor maps automatically for every add-on — no extra "map:" entry needed.
|
|
|
|
options:
|
|
mqtt_host: "core-mosquitto"
|
|
mqtt_port: 1883
|
|
mqtt_username: ""
|
|
mqtt_password: ""
|
|
request_topic_prefix: "cert/enroll"
|
|
cert_validity_days: 825
|
|
broker_hostnames: "core-mosquitto,localhost"
|
|
renewal_window_days: 30
|
|
|
|
schema:
|
|
mqtt_host: str
|
|
mqtt_port: port
|
|
mqtt_username: str
|
|
mqtt_password: password
|
|
request_topic_prefix: str
|
|
cert_validity_days: int(30,3650)
|
|
broker_hostnames: str
|
|
renewal_window_days: int(1,365)
|