reset
This commit is contained in:
11
config.yaml
11
config.yaml
@@ -1,6 +1,6 @@
|
||||
server:
|
||||
listenAddress: ":80"
|
||||
exposedAddress: "grpc://birdy.greact.online:50051"
|
||||
exposedAddress: "https://birdy.greact.online" # домен, через который ходит UI и клиенты
|
||||
stunPorts:
|
||||
- 3478
|
||||
logLevel: "info"
|
||||
@@ -8,7 +8,7 @@ server:
|
||||
authSecret: "0xO0NE2nsyAv3QWM6lYfYMKZ+TJ4BG4N93kpbCWYISg="
|
||||
dataDir: "/var/lib/netbird"
|
||||
|
||||
auth: # ← вложено под server
|
||||
auth:
|
||||
issuer: "https://birdy.greact.online/oauth2"
|
||||
localAuthDisabled: false
|
||||
signKeyRefreshEnabled: true
|
||||
@@ -18,10 +18,7 @@ server:
|
||||
cliRedirectURIs:
|
||||
- "http://localhost:53000/"
|
||||
|
||||
reverseProxy:
|
||||
trustedHTTPProxies:
|
||||
- "172.16.0.0/12" # Docker-подсеть (покрывает NPM-контейнер в сети proxy)
|
||||
|
||||
store: # ← вложено под server
|
||||
store:
|
||||
engine: "sqlite"
|
||||
encryptionKey: "0xO0NE2nsyAv3QWM6lYfYMKZ+TJ4BG4N93kpbCWYISg="
|
||||
|
||||
@@ -1,14 +1,14 @@
|
||||
NETBIRD_MGMT_API_ENDPOINT=grpc://birdy.greact.online:50051
|
||||
NETBIRD_MGMT_GRPC_API_ENDPOINT=grpc://birdy.greact.online:50051
|
||||
NETBIRD_MGMT_API_ENDPOINT=https://birdy.greact.online
|
||||
NETBIRD_MGMT_GRPC_API_ENDPOINT=https://birdy.greact.online
|
||||
|
||||
AUTH_AUDIENCE=netbird-dashboard
|
||||
AUTH_CLIENT_ID=netbird-dashboard
|
||||
AUTH_CLIENT_SECRET=
|
||||
AUTH_CLIENT_SECRET=0xO0NE2nsyAv3QWM6lYfYMKZ+TJ4BG4N93kpbCWYISg=
|
||||
AUTH_AUTHORITY=https://birdy.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
|
||||
LETSENCRYPT_DOMAIN=birdy.greact.online
|
||||
LETSENCRYPT_EMAIL=cap7goo@gmail.com
|
||||
NGINX_SSL_PORT=443
|
||||
@@ -1,5 +1,3 @@
|
||||
version: "3.8"
|
||||
|
||||
services:
|
||||
netbird-server:
|
||||
build:
|
||||
@@ -7,10 +5,11 @@ services:
|
||||
dockerfile: Dockerfile.netbird-server
|
||||
container_name: netbird-server
|
||||
expose:
|
||||
- "80" # Management API + OAuth2 + Signal → внутрь proxy-сети
|
||||
- "80" # Management API + OAuth2 + Signal -- внутрь proxy-сети
|
||||
ports:
|
||||
- "50051:80" # management gRPC
|
||||
- "33080:33080" # relay (TCP)
|
||||
- "3478:3478/udp" # STUN
|
||||
- "50051:80" # публичный TCP‑порт для management
|
||||
volumes:
|
||||
- netbird_data:/var/lib/netbird # именованный volume (не bind-mount)
|
||||
networks:
|
||||
@@ -36,9 +35,6 @@ services:
|
||||
- NGINX_SSL_PORT=${NGINX_SSL_PORT}
|
||||
expose:
|
||||
- "80"
|
||||
ports:
|
||||
- "3478:3478/udp" # STUN, как было
|
||||
- "8444:80" # ← новый публичный TCP‑порт для management (пример)
|
||||
networks:
|
||||
- proxy
|
||||
|
||||
|
||||
Reference in New Issue
Block a user