Add native traffic inspection to Harbor Connect and Gateway
This commit is contained in:
+6
-2
@@ -13,7 +13,7 @@ COPY monitoring/grafana/harbor-gateway.json ./monitoring/grafana/harbor-gateway.
|
||||
RUN npm run build:production
|
||||
|
||||
FROM ${BASE_IMAGE}
|
||||
ARG SINGBOX_VERSION=1.13.18
|
||||
ARG SINGBOX_VERSION=1.14.0-rc.5
|
||||
ARG INSTALL_RUNTIME_DEPS=true
|
||||
ARG INSTALL_SINGBOX=true
|
||||
|
||||
@@ -46,6 +46,9 @@ RUN if [ "${INSTALL_SINGBOX}" = "true" ]; then \
|
||||
|
||||
WORKDIR /app
|
||||
COPY --from=build /src/dist /app/dist
|
||||
COPY --from=build /src/node_modules/@bufbuild/protobuf /app/node_modules/@bufbuild/protobuf
|
||||
COPY --from=build /src/node_modules/@connectrpc/connect /app/node_modules/@connectrpc/connect
|
||||
COPY --from=build /src/node_modules/@connectrpc/connect-node /app/node_modules/@connectrpc/connect-node
|
||||
COPY package.json /app/package.json
|
||||
COPY entrypoint.sh /entrypoint.sh
|
||||
|
||||
@@ -59,6 +62,7 @@ ENV PORT=3456 \
|
||||
TPROXY_PORT=7895 \
|
||||
DATA_DIR=/var/lib/vpn-proxy \
|
||||
SING_BOX_CONFIG=/etc/sing-box/config.json \
|
||||
SING_BOX_CACHE=/var/lib/sing-box/cache.db
|
||||
SING_BOX_CACHE=/var/lib/sing-box/cache.db \
|
||||
SING_BOX_TRAFFIC_SOURCE=snapshot
|
||||
|
||||
ENTRYPOINT ["dumb-init", "/entrypoint.sh"]
|
||||
|
||||
Reference in New Issue
Block a user