Fix certificate path env name
All checks were successful
docker-image / docker (push) Successful in 1m17s
All checks were successful
docker-image / docker (push) Successful in 1m17s
This commit is contained in:
parent
ee8e6b3523
commit
dca9b58e4f
2 changed files with 16 additions and 16 deletions
|
@ -5,13 +5,13 @@
|
||||||
All configuration is handled through environment variables.
|
All configuration is handled through environment variables.
|
||||||
|
|
||||||
| Name | Default | Description |
|
| Name | Default | Description |
|
||||||
|---------------------------------|-------------------------------------------------------------------------|------------------------------------------------------------------------------------------|
|
|-------------------------------------|-------------------------------------------------------------------------|------------------------------------------------------------------------------------------|
|
||||||
| `HMDOORIS_ALLOWED_IPS` | - | List of IP addresses in CIDR notation that are allowed to control the locks. |
|
| `HMDOORIS_ALLOWED_IPS` | - | List of IP addresses in CIDR notation that are allowed to control the locks. |
|
||||||
| `HMDOORIS_DISCOVERY_URL` | `http://localhost:8080/realms/testing/.well-known/openid-configuration` | OIDC configuration discovery URL. |
|
| `HMDOORIS_DISCOVERY_URL` | `http://localhost:8080/realms/testing/.well-known/openid-configuration` | OIDC configuration discovery URL. |
|
||||||
| `HMDOORIS_CCUJACK_URL` | `https://raspberrymatic:2122` | URL of the CCU Jack server. |
|
| `HMDOORIS_CCUJACK_CERTIFICATE_PATH` | - | File of a private certificate, or `false`. |
|
||||||
| `HMDOORIS_CCU_CERTIFICATE_PATH` | - | File of a private certificate, or `false`. |
|
|
||||||
| `HMDOORIS_CCUJACK_USERNAME` | - | Username in CCU Jack. |
|
|
||||||
| `HMDOORIS_CCUJACK_PASSWORD` | - | Password in CCU Jack. |
|
| `HMDOORIS_CCUJACK_PASSWORD` | - | Password in CCU Jack. |
|
||||||
|
| `HMDOORIS_CCUJACK_URL` | `https://raspberrymatic:2122` | URL of the CCU Jack server. |
|
||||||
|
| `HMDOORIS_CCUJACK_USERNAME` | - | Username in CCU Jack. |
|
||||||
| `HMDOORIS_CLIENT_ID` | `hmdooris` | OIDC client ID. |
|
| `HMDOORIS_CLIENT_ID` | `hmdooris` | OIDC client ID. |
|
||||||
| `HMDOORIS_CLIENT_SECRET` | - | ODIC client secret for the confidential flow. |
|
| `HMDOORIS_CLIENT_SECRET` | - | ODIC client secret for the confidential flow. |
|
||||||
| `HMDOORIS_LISTEN` | `127.0.0.1:3000` | Which IP and port to listen on. |
|
| `HMDOORIS_LISTEN` | `127.0.0.1:3000` | Which IP and port to listen on. |
|
||||||
|
|
|
@ -28,7 +28,7 @@ class AppConfig:
|
||||||
self.oidc_user_attr = getenv('IDINVITE_OIDC_USER_ATTR', 'email')
|
self.oidc_user_attr = getenv('IDINVITE_OIDC_USER_ATTR', 'email')
|
||||||
self.requires_group = getenv('HMDOORIS_REQUIRES_GROUP', None)
|
self.requires_group = getenv('HMDOORIS_REQUIRES_GROUP', None)
|
||||||
self.ccujack_url = getenv('HMDOORIS_CCUJACK_URL', 'https://raspberrymatic:2122')
|
self.ccujack_url = getenv('HMDOORIS_CCUJACK_URL', 'https://raspberrymatic:2122')
|
||||||
self.ccujack_certificate_path = getenv('HMDOORIS_CCU_CERTIFICATE_PATH', None)
|
self.ccujack_certificate_path = getenv('HMDOORIS_CCUJACK_CERTIFICATE_PATH', None)
|
||||||
self.ccujack_username = getenv('HMDOORIS_CCUJACK_USERNAME', None)
|
self.ccujack_username = getenv('HMDOORIS_CCUJACK_USERNAME', None)
|
||||||
self.ccujack_password = getenv('HMDOORIS_CCUJACK_PASSWORD', None)
|
self.ccujack_password = getenv('HMDOORIS_CCUJACK_PASSWORD', None)
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue