26 lines
1.0 KiB
Markdown
26 lines
1.0 KiB
Markdown
# The platform files
|
|
|
|
The Edge Agent add-on belongs to one Cantabile platform. Its image carries
|
|
these files in `/etc/cantabile/`; they are not part of this repository.
|
|
Put them here before building `cantabile_edge/Dockerfile`:
|
|
|
|
| File | What |
|
|
|---|---|
|
|
| `addon.env` | `CANTABILE_DEVICES_URL=<the platform's device API URL>`, one `KEY=value` per line (optionally `CANTABILE_DEVICES_DIRECT`, `CANTABILE_DEVICES_SPKI`). |
|
|
| `commands.pem` | The certificate of the platform's command key: the link accepts only commands signed with it. |
|
|
| `bundles.pem` | Optional: the certificate of the platform's bundle key (tariffs, models). |
|
|
| `devices-ca.pem` | Optional: the CA of the direct path to the device API. |
|
|
|
|
These are public certificates, not secrets. To rebuild the published image
|
|
for the same platform, take them from it:
|
|
|
|
```
|
|
docker create --name ce git.setti.solutions/daniel/cantabile-ha-edge-amd64:<version>
|
|
docker cp ce:/etc/cantabile/. cantabile_edge/platform/
|
|
docker rm ce
|
|
```
|
|
|
|
---
|
|
|
|
Copyright © 2026 Setti Solutions S.R.L, www.setti.md. All rights reserved.
|