feat(netbird): add netbird
Good base templates. Need to churn through config docs for management.json, coturn and the env vars.
This commit is contained in:
parent
ffea719640
commit
f642ee0418
9 changed files with 135 additions and 0 deletions
21
quadlets/netbird/netbird-coturn.container
Normal file
21
quadlets/netbird/netbird-coturn.container
Normal file
|
@ -0,0 +1,21 @@
|
|||
[Unit]
|
||||
Description=Netbird coturn
|
||||
|
||||
[Service]
|
||||
Restart=on-failure
|
||||
TimeoutStartSec=900
|
||||
|
||||
[Install]
|
||||
WantedBy=default.target
|
||||
|
||||
[Container]
|
||||
Image=docker.io/coturn/coturn
|
||||
ContainerName=netbird-coturn
|
||||
|
||||
HostName=netbird-coturn
|
||||
|
||||
Volume=./turnserver.conf:/etc/turnserver.conf
|
||||
|
||||
Environment=NETBIRD_STORE_ENGINE_POSTGRES_DSN=
|
||||
|
||||
Exec=-c /etc/turnserver.conf
|
3
quadlets/netbird/netbird-letsencrypt.volume
Normal file
3
quadlets/netbird/netbird-letsencrypt.volume
Normal file
|
@ -0,0 +1,3 @@
|
|||
[Volume]
|
||||
VolumeName=netbird-letsencrypt
|
||||
|
23
quadlets/netbird/netbird-management.container
Normal file
23
quadlets/netbird/netbird-management.container
Normal file
|
@ -0,0 +1,23 @@
|
|||
[Unit]
|
||||
Description=Netbird management
|
||||
|
||||
[Service]
|
||||
Restart=on-failure
|
||||
TimeoutStartSec=900
|
||||
|
||||
[Install]
|
||||
WantedBy=default.target
|
||||
|
||||
[Container]
|
||||
Image=docker.io/netbirdio/management
|
||||
ContainerName=netbird-management
|
||||
|
||||
HostName=netbird-management
|
||||
|
||||
Volume=netbird-management:/var/lib/netbird
|
||||
Volume=netbird-letsencrypt:/etc/letsencrypt
|
||||
Volume=./management.json:/etc/netbird/management.json
|
||||
|
||||
Environment=NETBIRD_STORE_ENGINE_POSTGRES_DSN=
|
||||
|
||||
Exec=--port 443 --log-file console --log-level info --disable-anonymous-metrics="$NETBIRD_DISABLE_ANONYMOUS_METRICS" --single-account-mode-domain="$NETBIRD_MGMT_SINGLE_ACCOUNT_MODE_DOMAIN" --dns-domain="$NETBIRD_MGMT_DNS_DOMAIN"
|
3
quadlets/netbird/netbird-management.volume
Normal file
3
quadlets/netbird/netbird-management.volume
Normal file
|
@ -0,0 +1,3 @@
|
|||
[Volume]
|
||||
VolumeName=netbird-management
|
||||
|
23
quadlets/netbird/netbird-relay.container
Normal file
23
quadlets/netbird/netbird-relay.container
Normal file
|
@ -0,0 +1,23 @@
|
|||
[Unit]
|
||||
Description=Netbird relay
|
||||
|
||||
[Service]
|
||||
Restart=on-failure
|
||||
TimeoutStartSec=900
|
||||
|
||||
[Install]
|
||||
WantedBy=default.target
|
||||
|
||||
[Container]
|
||||
Image=docker.io/netbirdio/relay
|
||||
ContainerName=netbird-relay
|
||||
|
||||
HostName=netbird-relay
|
||||
|
||||
Volume=netbird-relay:/var/lib/netbird
|
||||
|
||||
Environment=NB_LOG_LEVEL=
|
||||
Environment=NB_LISTEN_ADDRESS=
|
||||
Environment=NB_EXPOSED_ADDRESS=
|
||||
Environment=NB_AUTH_SECRET=
|
||||
|
19
quadlets/netbird/netbird-signal.container
Normal file
19
quadlets/netbird/netbird-signal.container
Normal file
|
@ -0,0 +1,19 @@
|
|||
[Unit]
|
||||
Description=Netbird signal
|
||||
|
||||
[Service]
|
||||
Restart=on-failure
|
||||
TimeoutStartSec=900
|
||||
|
||||
[Install]
|
||||
WantedBy=default.target
|
||||
|
||||
[Container]
|
||||
Image=docker.io/netbirdio/signal
|
||||
ContainerName=netbird-signal
|
||||
|
||||
HostName=netbird-signal
|
||||
|
||||
Volume=netbird-signal:/var/lib/netbird
|
||||
|
||||
|
3
quadlets/netbird/netbird-signal.volume
Normal file
3
quadlets/netbird/netbird-signal.volume
Normal file
|
@ -0,0 +1,3 @@
|
|||
[Volume]
|
||||
VolumeName=netbird-signal
|
||||
|
22
quadlets/netbird/netbird.container
Normal file
22
quadlets/netbird/netbird.container
Normal file
|
@ -0,0 +1,22 @@
|
|||
[Unit]
|
||||
Description=Netbird dashboard
|
||||
Wants=netbird-signal.service
|
||||
Wants=netbird-relay.service
|
||||
Wants=netbird-management.service
|
||||
Wants=netbird-coturn.service
|
||||
|
||||
[Service]
|
||||
Restart=on-failure
|
||||
TimeoutStartSec=900
|
||||
|
||||
[Install]
|
||||
WantedBy=default.target
|
||||
|
||||
[Container]
|
||||
Image=docker.io/netbirdio/dashboard
|
||||
ContainerName=netbird-dashboard
|
||||
|
||||
HostName=netbird-dashboard
|
||||
|
||||
Volume=netbird-letsencrypt:/etc/letsencrypt
|
||||
|
18
quadlets/netbird/netbird.env
Normal file
18
quadlets/netbird/netbird.env
Normal file
|
@ -0,0 +1,18 @@
|
|||
# Endpoints
|
||||
NETBIRD_MGMT_API_ENDPOINT=
|
||||
NETBIRD_MGMT_GRPC_API_ENDPOINT=
|
||||
# OIDC
|
||||
AUTH_AUDIENCE=
|
||||
AUTH_CLIENT_ID=
|
||||
AUTH_CLIENT_SECRET=
|
||||
AUTH_AUTHORITY=
|
||||
USE_AUTH0=
|
||||
AUTH_SUPPORTED_SCOPES=
|
||||
AUTH_REDIRECT_URI=
|
||||
AUTH_SILENT_REDIRECT_URI=
|
||||
NETBIRD_TOKEN_SOURCE=
|
||||
# SSL
|
||||
NGINX_SSL_PORT=443
|
||||
# Letsencrypt
|
||||
LETSENCRYPT_DOMAIN=
|
||||
LETSENCRYPT_EMAIL=
|
Loading…
Add table
Reference in a new issue