1
1
Fork 0
mirror of https://github.com/schollz/croc.git synced 2025-10-10 21:01:02 +02:00

Support relay password for docker

This commit is contained in:
Thorben Günther 2019-12-06 12:31:26 +01:00
parent f12940bbcd
commit 1ae85758f0
No known key found for this signature in database
GPG key ID: 415CD778D8C5AFED
2 changed files with 2 additions and 3 deletions

View file

@ -11,5 +11,4 @@ EXPOSE 9011
EXPOSE 9012
EXPOSE 9013
COPY --from=builder /go/croc/croc /croc
ENTRYPOINT ["/croc"]
CMD ["relay"]
CMD ["sh", "-c", "/croc --pass $CROC_PASS relay"]