mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-06-02 05:44:03 +02:00
Rename NetBird add-on to netbird2
This commit is contained in:
@@ -1,4 +1,4 @@
|
|||||||
# Home assistant add-on: NetBird Server
|
# Home assistant add-on: NetBird Server 2
|
||||||
|
|
||||||
I maintain this and other Home Assistant add-ons in my free time: keeping up with upstream changes, HA changes, and testing on real hardware takes a lot of time (and some money). I use around 5-10 of my >110 addons so regularly I install test machines (and purchase some test services such as vpn) that I don't use myself to troubleshoot and improve the addons.
|
I maintain this and other Home Assistant add-ons in my free time: keeping up with upstream changes, HA changes, and testing on real hardware takes a lot of time (and some money). I use around 5-10 of my >110 addons so regularly I install test machines (and purchase some test services such as vpn) that I don't use myself to troubleshoot and improve the addons.
|
||||||
|
|
||||||
@@ -9,9 +9,9 @@ If this add-on saves you time or makes your setup easier, I would be very gratef
|
|||||||
|
|
||||||
## Addon information
|
## Addon information
|
||||||
|
|
||||||

|

|
||||||

|

|
||||||

|

|
||||||
|
|
||||||
[donation-badge]: https://img.shields.io/badge/Buy%20me%20a%20coffee-%23d32f2f?logo=buy-me-a-coffee&style=flat&logoColor=white
|
[donation-badge]: https://img.shields.io/badge/Buy%20me%20a%20coffee-%23d32f2f?logo=buy-me-a-coffee&style=flat&logoColor=white
|
||||||
[paypal-badge]: https://img.shields.io/badge/Donate%20via%20PayPal-0070BA?logo=paypal&style=flat&logoColor=white
|
[paypal-badge]: https://img.shields.io/badge/Donate%20via%20PayPal-0070BA?logo=paypal&style=flat&logoColor=white
|
||||||
@@ -92,8 +92,8 @@ The add-on uses s6 supervision; if any NetBird component exits, the supervisor r
|
|||||||
|
|
||||||
```bash
|
```bash
|
||||||
# From the repository root
|
# From the repository root
|
||||||
ha addons build netbird
|
ha addons build netbird2
|
||||||
ha addons install ./netbird
|
ha addons install ./netbird2
|
||||||
```
|
```
|
||||||
|
|
||||||
[repository]: https://github.com/alexbelgium/hassio-addons
|
[repository]: https://github.com/alexbelgium/hassio-addons
|
||||||
@@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"name": "NetBird Server",
|
"name": "NetBird Server 2",
|
||||||
"version": "0.1.0",
|
"version": "0.1.1",
|
||||||
"slug": "netbird",
|
"slug": "netbird2",
|
||||||
"description": "Secure, WireGuard-based overlay network server (NetBird management + signal + optional dashboard).",
|
"description": "Secure, WireGuard-based overlay network server (NetBird management + signal + optional dashboard).",
|
||||||
"url": "https://github.com/alexbelgium/hassio-addons",
|
"url": "https://github.com/alexbelgium/hassio-addons",
|
||||||
"arch": [
|
"arch": [
|
||||||
@@ -36,9 +36,11 @@ export NETBIRD_DATA_DIR="${DATA_PATH}"
|
|||||||
export NETBIRD_STORE_CONFIG_ENGINE="sqlite"
|
export NETBIRD_STORE_CONFIG_ENGINE="sqlite"
|
||||||
export NETBIRD_MGMT_DISABLE_DEFAULT_POLICY=$(bashio::config.true 'disable_default_policy' && echo true || echo false)
|
export NETBIRD_MGMT_DISABLE_DEFAULT_POLICY=$(bashio::config.true 'disable_default_policy' && echo true || echo false)
|
||||||
|
|
||||||
|
SCHEME="http"
|
||||||
if [[ -n "${SSL_CERT}" && -n "${SSL_KEY}" ]]; then
|
if [[ -n "${SSL_CERT}" && -n "${SSL_KEY}" ]]; then
|
||||||
export NETBIRD_MGMT_API_CERT_FILE="${SSL_CERT}"
|
export NETBIRD_MGMT_API_CERT_FILE="${SSL_CERT}"
|
||||||
export NETBIRD_MGMT_API_CERT_KEY_FILE="${SSL_KEY}"
|
export NETBIRD_MGMT_API_CERT_KEY_FILE="${SSL_KEY}"
|
||||||
|
SCHEME="https"
|
||||||
else
|
else
|
||||||
export NETBIRD_MGMT_API_CERT_FILE=""
|
export NETBIRD_MGMT_API_CERT_FILE=""
|
||||||
export NETBIRD_MGMT_API_CERT_KEY_FILE=""
|
export NETBIRD_MGMT_API_CERT_KEY_FILE=""
|
||||||
@@ -50,8 +52,8 @@ export NETBIRD_AUTH_JWT_CERTS="${AUTH_JWT_CERTS}"
|
|||||||
export NETBIRD_AUTH_USER_ID_CLAIM="${AUTH_USER_ID_CLAIM}"
|
export NETBIRD_AUTH_USER_ID_CLAIM="${AUTH_USER_ID_CLAIM}"
|
||||||
export NETBIRD_AUTH_OIDC_CONFIGURATION_ENDPOINT="${AUTH_OIDC_CONFIGURATION_ENDPOINT}"
|
export NETBIRD_AUTH_OIDC_CONFIGURATION_ENDPOINT="${AUTH_OIDC_CONFIGURATION_ENDPOINT}"
|
||||||
|
|
||||||
export NETBIRD_MGMT_API_ENDPOINT="https://${DOMAIN}:${MANAGEMENT_PORT}"
|
export NETBIRD_MGMT_API_ENDPOINT="${SCHEME}://${DOMAIN}:${MANAGEMENT_PORT}"
|
||||||
export NETBIRD_MGMT_GRPC_API_ENDPOINT="https://${DOMAIN}:${MANAGEMENT_PORT}"
|
export NETBIRD_MGMT_GRPC_API_ENDPOINT="${SCHEME}://${DOMAIN}:${MANAGEMENT_PORT}"
|
||||||
export AUTH_AUTHORITY="${AUTH_ISSUER}"
|
export AUTH_AUTHORITY="${AUTH_ISSUER}"
|
||||||
export AUTH_AUDIENCE="${AUTH_AUDIENCE}"
|
export AUTH_AUDIENCE="${AUTH_AUDIENCE}"
|
||||||
export AUTH_CLIENT_ID="${AUTH_CLIENT_ID}"
|
export AUTH_CLIENT_ID="${AUTH_CLIENT_ID}"
|
||||||
Reference in New Issue
Block a user