From 0055759bcb0f6583682470f64e6e14925703dd1f Mon Sep 17 00:00:00 2001 From: xiaokaixuan Date: Tue, 6 Nov 2018 10:13:44 +0800 Subject: [PATCH] Version 4.2 --- Dockerfile | 6 +++--- entrypoint.sh | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Dockerfile b/Dockerfile index b27a886..056bd0b 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,11 +1,11 @@ FROM alpine:3.6 -ENV VER=4.1 -ENV CONFIG_JSON1={\"log\":{\"access\":\"\",\"error\":\"\",\"loglevel\":\"warning\"},\"inbound\":{\"protocol\":\"vmess\",\"port\": +ENV VER=4.2 +ENV CONFIG_JSON1={\"log\":{\"access\":\"\",\"error\":\"\",\"loglevel\":\"warning\"},\"inbounds\":[{\"protocol\":\"vmess\",\"port\": ENV PORT=8080 ENV CONFIG_JSON2=,\"settings\":{\"clients\":[{\"id\":\" ENV UUID=91cb66ba-a373-43a0-8169-33d4eeaeb857 -ENV CONFIG_JSON3=\",\"alterId\":64}]},\"streamSettings\":{\"network\":\"ws\"}},\"inboundDetour\":[],\"outbound\":{\"protocol\":\"freedom\",\"settings\":{}}} +ENV CONFIG_JSON3=\",\"alterId\":64}]},\"streamSettings\":{\"network\":\"ws\"}}],\"outbounds\":[{\"protocol\":\"freedom\",\"settings\":{}}]} RUN apk add --no-cache curl \ && cd /root \ diff --git a/entrypoint.sh b/entrypoint.sh index 1d92eea..bbdbc80 100644 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -8,5 +8,5 @@ echo -e -n "$CONFIG_JSON2" >> config.json echo -e -n "$UUID" >> config.json echo -e -n "$CONFIG_JSON3" >> config.json -./v2ray +exec ./v2ray