diff --git a/apps/stash/0.27.2/data.yml b/apps/stash/0.27.2/data.yml index 998738e9..f699dae0 100644 --- a/apps/stash/0.27.2/data.yml +++ b/apps/stash/0.27.2/data.yml @@ -52,3 +52,17 @@ additionalProperties: labelZh: 自定义挂载目录 3 required: false type: text + - default: "" + edit: true + envKey: HTTP_PROXY + labelZh: 网络代理地址 + labelEn: Network proxy address + required: false + type: text + - default: "localhost,127.0.0.1,::1,192.168.0.0/16,10.0.0.0/8,*.local" + edit: true + envKey: NO_PROXY + labelZh: 跳过代理地址 + labelEn: Skip proxy address + required: false + type: text diff --git a/apps/stash/0.27.2/docker-compose.yml b/apps/stash/0.27.2/docker-compose.yml index cf8923ba..5a78a58f 100644 --- a/apps/stash/0.27.2/docker-compose.yml +++ b/apps/stash/0.27.2/docker-compose.yml @@ -38,3 +38,6 @@ services: - STASH_GENERATED=/generated/ - STASH_METADATA=/metadata/ - STASH_CACHE=/cache/ + - HTTPS_PROXY=${HTTP_PROXY} + - HTTP_PROXY=${HTTP_PROXY} + - NO_PROXY=${NO_PROXY}