From b21d39d3fa19f5c1706f52da5d18a5712ba18957 Mon Sep 17 00:00:00 2001 From: quackerd Date: Mon, 21 Aug 2023 14:04:02 +0000 Subject: [PATCH 1/5] Update README.md --- README.md | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 66edc0c..dc41d05 100644 --- a/README.md +++ b/README.md @@ -27,4 +27,7 @@ If you are generating the private key yourself, the key file must contain exactl ## How To Update? - `docker compose down` - `docker compose pull` -- `docker compose up -d` \ No newline at end of file +- `docker compose up -d` + +## Notes +- The old xtls-vision + TLS + Nginx fallback has been branched out to `vision` branch. \ No newline at end of file From ab07f40f588264219f03a09ca6d862dcbccfab70 Mon Sep 17 00:00:00 2001 From: quackerd Date: Mon, 21 Aug 2023 14:04:14 +0000 Subject: [PATCH 2/5] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index dc41d05..3037fa8 100644 --- a/README.md +++ b/README.md @@ -30,4 +30,4 @@ If you are generating the private key yourself, the key file must contain exactl - `docker compose up -d` ## Notes -- The old xtls-vision + TLS + Nginx fallback has been branched out to `vision` branch. \ No newline at end of file +- The old xtls-vision + TLS + Nginx fallback has been branched out to the `vision` branch. \ No newline at end of file From 7cf924dccb2497f2898f60e1752c7059b7f178c5 Mon Sep 17 00:00:00 2001 From: quackerd Date: Mon, 21 Aug 2023 14:08:22 +0000 Subject: [PATCH 3/5] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 3037fa8..faaf210 100644 --- a/README.md +++ b/README.md @@ -22,7 +22,7 @@ d2ray checks whether a key file exists at path `/etc/xray/certs/keys` and genera You can either supply a pre-generated private key using `xray x25519` or let d2ray generate one. The corresponding public key is printed to the container log (`docker logs`), which clients use to connect. -If you are generating the private key yourself, the key file must contain exactly the output of `xray x25519`. +If you are generating the keys yourself, the key file must contain exactly the output of `xray x25519`. ## How To Update? - `docker compose down` From cede04750d3760db0d6064441570ad8068af4cec Mon Sep 17 00:00:00 2001 From: quackerd Date: Mon, 21 Aug 2023 14:19:42 +0000 Subject: [PATCH 4/5] Update docker-compose.yml --- docker-compose.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docker-compose.yml b/docker-compose.yml index ecd3f77..60accff 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -13,7 +13,7 @@ services: - TARGET_URL=example.com - TARGET_PORT=443 - USERS=exampleuser1,exampleuser2 - - LOG_LEVEL=${LOG_LEVEL} + - LOG_LEVEL=warn restart: unless-stopped networks: - d2ray_br From e4c95c2f5263bd1a3aa28ff869759cd6e5753736 Mon Sep 17 00:00:00 2001 From: quackerd Date: Mon, 21 Aug 2023 14:23:16 +0000 Subject: [PATCH 5/5] Update Dockerfile --- Dockerfile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Dockerfile b/Dockerfile index 718ac97..9e40424 100644 --- a/Dockerfile +++ b/Dockerfile @@ -21,4 +21,6 @@ COPY ./opt /opt/ # remove packages RUN set -xe && apk del unzip wget + +VOLUME /etc/d2ray CMD ["sh", "/opt/init.sh"] \ No newline at end of file