Merge branch 'master' of git.quacker.org:d/d2ray
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
This commit is contained in:
commit
63e83e3275
|
@ -21,4 +21,6 @@ COPY ./opt /opt/
|
||||||
|
|
||||||
# remove packages
|
# remove packages
|
||||||
RUN set -xe && apk del unzip wget
|
RUN set -xe && apk del unzip wget
|
||||||
|
|
||||||
|
VOLUME /etc/d2ray
|
||||||
CMD ["sh", "/opt/init.sh"]
|
CMD ["sh", "/opt/init.sh"]
|
|
@ -23,9 +23,12 @@ 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.
|
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?
|
## How To Update?
|
||||||
- `docker compose down`
|
- `docker compose down`
|
||||||
- `docker compose pull`
|
- `docker compose pull`
|
||||||
- `docker compose up -d`
|
- `docker compose up -d`
|
||||||
|
|
||||||
|
## Notes
|
||||||
|
- The old xtls-vision + TLS + Nginx fallback has been branched out to the `vision` branch.
|
Loading…
Reference in New Issue