add DeviceRegistry

This commit is contained in:
2024-11-21 04:55:05 +01:00
parent e40360e9e1
commit 31ea9bf188
4 changed files with 54 additions and 1 deletions

View File

@@ -35,6 +35,28 @@ SPRING_PROFILES_ACTIVE: docker
INFLUXDB_TOKEN: influxdbToken==
```
### Device Registry
Store device information. GitHub [Hlæja Device Data](https://github.com/swordsteel/hlaeja-device-registry)
#### Environment
```text
SPRING_R2DBC_URL: r2dbc:postgresql://localhost:5432/device_registry
SPRING_R2DBC_USERBAME: services
SPRING_R2DBC_PASSWORD: password
JWT_PRIVATE_KEY: keys/private_key.pem
```
#### Volume
This will allow you to mount a local private key `identity_private_key.pem` into the container. read `IDENTITY.md` for how to generate.
```text
volumes:
- ./keys/identity_private_key.pem:/app/resources/keys/private_key.pem
```
## Databases
### InfluxDB