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} + } } } ],