yay
Some checks failed
ci/woodpecker/push/woodpecker Pipeline was successful
/ Release (push) Has been cancelled
/ Build - Windows x86 (push) Has been cancelled
/ Build - Windows x86_64 (push) Has been cancelled
/ Build - Android aarch64 (push) Has been cancelled
/ Build - Android armv7 (push) Has been cancelled
/ Build - Freebsd x86 (push) Has been cancelled
/ Build - Freebsd x86_64 (push) Has been cancelled
/ Build - Linux aarch64 (push) Has been cancelled
/ Build - Linux armv7hf (push) Has been cancelled
/ Build - Linux x86 (push) Has been cancelled
/ Build - Linux x86_64 (push) Has been cancelled
/ Build - MacOS aarch64 (push) Has been cancelled
/ Build - MacOS x86_64 (push) Has been cancelled
Some checks failed
ci/woodpecker/push/woodpecker Pipeline was successful
/ Release (push) Has been cancelled
/ Build - Windows x86 (push) Has been cancelled
/ Build - Windows x86_64 (push) Has been cancelled
/ Build - Android aarch64 (push) Has been cancelled
/ Build - Android armv7 (push) Has been cancelled
/ Build - Freebsd x86 (push) Has been cancelled
/ Build - Freebsd x86_64 (push) Has been cancelled
/ Build - Linux aarch64 (push) Has been cancelled
/ Build - Linux armv7hf (push) Has been cancelled
/ Build - Linux x86 (push) Has been cancelled
/ Build - Linux x86_64 (push) Has been cancelled
/ Build - MacOS aarch64 (push) Has been cancelled
/ Build - MacOS x86_64 (push) Has been cancelled
This commit is contained in:
parent
fab129b516
commit
1afda73923
2 changed files with 21 additions and 2 deletions
|
@ -52,12 +52,13 @@ ARG PROFILE=release
|
|||
COPY --from=builder_release /build/target/${PROFILE}/wstunnel wstunnel
|
||||
|
||||
ENV RUST_LOG="INFO"
|
||||
ENV SERVER_PROTOCOL="wss"
|
||||
ENV SERVER_PROTOCOL="ws"
|
||||
ENV SERVER_LISTEN="[::]"
|
||||
ENV SERVER_PORT="8080"
|
||||
ENV EXTRA_ARGS="--restrict-to 192.168.2.1:19110"
|
||||
EXPOSE 8080
|
||||
|
||||
USER app
|
||||
|
||||
ENTRYPOINT ["/usr/bin/dumb-init", "-v", "--"]
|
||||
CMD ["/bin/sh", "-c", "exec /home/app/wstunnel server ${SERVER_PROTOCOL}://${SERVER_LISTEN}:${SERVER_PORT}"]
|
||||
CMD ["/bin/sh", "-c", "exec /home/app/wstunnel server ${EXTRA_ARGS} ${SERVER_PROTOCOL}://${SERVER_LISTEN}:${SERVER_PORT}"]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue