From 16d73f5a1b6e4a9bfbfefaa1c2a14bbc887829de Mon Sep 17 00:00:00 2001 From: reonokiy Date: Sat, 17 May 2025 17:20:41 +0800 Subject: [PATCH] update --- docker-compose.yaml | 2 ++ .../sing-box-reality-server/sing-box-reality-server.json | 7 ++++++- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/docker-compose.yaml b/docker-compose.yaml index c0fd1b7..a651347 100644 --- a/docker-compose.yaml +++ b/docker-compose.yaml @@ -6,6 +6,8 @@ services: restart: always container_name: sing-box environment: + UP_MBPS: ${UP_MBPS:-100} + DOWN_MBPS: ${DOWN_MBPS:-100} DOMAIN: ${DOMAIN} PROJECT_ID: ${PROJECT_ID} INFISICAL_API_URL: https://infisical.nokiy.net/api diff --git a/templates/sing-box-reality-server/sing-box-reality-server.json b/templates/sing-box-reality-server/sing-box-reality-server.json index cee3f6f..9effee7 100644 --- a/templates/sing-box-reality-server/sing-box-reality-server.json +++ b/templates/sing-box-reality-server/sing-box-reality-server.json @@ -48,7 +48,12 @@ }, "multiplex": { "enabled": true, - "padding": true + "padding": true, + "brutal": { + "enabled": true, + "up_mbps": ${UP_MBPS}, + "down_mbps": ${DOWN_MBPS} + } } } ],