feat: Connection URI and QR-code
This commit is contained in:
@ -1,5 +1,6 @@
|
||||
FROM alpine:3.17.0
|
||||
RUN apk add --no-cache --repository=http://dl-cdn.alpinelinux.org/alpine/edge/testing shadowsocks-libev curl
|
||||
RUN apk add --no-cache curl libqrencode
|
||||
RUN apk add --no-cache --repository=http://dl-cdn.alpinelinux.org/alpine/edge/testing shadowsocks-libev
|
||||
RUN mkdir -pv /usr/share/shadowsocks-libev/plugins
|
||||
RUN tag="$(curl -sSo /dev/null -w '%{redirect_url}' \
|
||||
https://github.com/shadowsocks/v2ray-plugin/releases/latest | \
|
||||
@ -9,6 +10,7 @@ RUN tag="$(curl -sSo /dev/null -w '%{redirect_url}' \
|
||||
RUN chmod +x /usr/share/shadowsocks-libev/plugins/v2ray-plugin
|
||||
|
||||
ENV SERVER_HOST="${SERVER_HOST:-0.0.0.0}"
|
||||
ENV SERVER_IP="${SERVER_IP:-0.0.0.0}"
|
||||
ENV SERVER_PORT="${SERVER_PORT:-8388}"
|
||||
ENV PASSWORD="${PASSWORD:-secure_password}"
|
||||
ENV METHOD="${METHOD:-chacha20-ietf-poly1305}"
|
||||
|
Reference in New Issue
Block a user