Compare commits

...

6 Commits

Author SHA1 Message Date
Nikita Bizyaev
d5fd7dde5b 443 2026-05-07 13:51:54 +03:00
Nikita Bizyaev
bbb517b3d1 brd 2026-05-07 12:44:41 +03:00
Nikita Bizyaev
c354fbf626 ports 2026-05-07 12:21:15 +03:00
Nikita Bizyaev
6d01dd0bbb reset 2026-05-07 11:09:33 +03:00
Nikita Bizyaev
e6b6fcffd6 50051 2026-05-05 16:05:38 +03:00
Nikita Bizyaev
f21c0e2536 8444 2026-05-05 15:30:03 +03:00
3 changed files with 13 additions and 22 deletions

View File

@@ -1,6 +1,6 @@
server:
listenAddress: ":80"
exposedAddress: "https://birdy.greact.online:443"
exposedAddress: "https://brd.greact.online:443" # домен, через который ходит UI и клиенты
stunPorts:
- 3478
logLevel: "info"
@@ -8,20 +8,16 @@ server:
authSecret: "0xO0NE2nsyAv3QWM6lYfYMKZ+TJ4BG4N93kpbCWYISg="
dataDir: "/var/lib/netbird"
auth: # ← вложено под server
issuer: "https://birdy.greact.online/oauth2"
auth:
issuer: "https://brd.greact.online/oauth2"
localAuthDisabled: false
signKeyRefreshEnabled: true
dashboardRedirectURIs:
- "https://birdy.greact.online/nb-auth"
- "https://birdy.greact.online/nb-silent-auth"
- "https://brd.greact.online/nb-auth"
- "https://brd.greact.online/nb-silent-auth"
cliRedirectURIs:
- "http://localhost:53000/"
reverseProxy:
trustedHTTPProxies:
- "172.16.0.0/12" # Docker-подсеть (покрывает NPM-контейнер в сети proxy)
store: # ← вложено под server
store:
engine: "sqlite"
encryptionKey: "0xO0NE2nsyAv3QWM6lYfYMKZ+TJ4BG4N93kpbCWYISg="

View File

@@ -1,14 +1,14 @@
NETBIRD_MGMT_API_ENDPOINT=https://birdy.greact.online
NETBIRD_MGMT_GRPC_API_ENDPOINT=https://birdy.greact.online
NETBIRD_MGMT_API_ENDPOINT=https://brd.greact.online
NETBIRD_MGMT_GRPC_API_ENDPOINT=https://brd.greact.online
AUTH_AUDIENCE=netbird-dashboard
AUTH_CLIENT_ID=netbird-dashboard
AUTH_CLIENT_SECRET=
AUTH_AUTHORITY=https://birdy.greact.online/oauth2
AUTH_AUTHORITY=https://brd.greact.online/oauth2
USE_AUTH0=false
AUTH_SUPPORTED_SCOPES=openid profile email groups
AUTH_REDIRECT_URI=/nb-auth
AUTH_SILENT_REDIRECT_URI=/nb-silent-auth
LETSENCRYPT_DOMAIN=none
LETSENCRYPT_EMAIL=example@local
NGINX_SSL_PORT=443
LETSENCRYPT_DOMAIN=
LETSENCRYPT_EMAIL=
NGINX_SSL_PORT=

View File

@@ -1,5 +1,3 @@
version: "3.8"
services:
netbird-server:
build:
@@ -7,10 +5,7 @@ services:
dockerfile: Dockerfile.netbird-server
container_name: netbird-server
expose:
- "80" # Management API + OAuth2 + Signal внутрь proxy-сети
ports:
- "3478:3478/udp" # STUN, как было
- "8444:80" # ← новый публичный TCPпорт для management (пример)
- "80" # Management API + OAuth2 + Signal -- внутрь proxy-сети
volumes:
- netbird_data:/var/lib/netbird # именованный volume (не bind-mount)
networks: