From 48240336192d663696017b2bb28bc1f52e5e714a Mon Sep 17 00:00:00 2001 From: Zack Scholl Date: Mon, 23 Dec 2019 07:55:10 -0800 Subject: [PATCH] clearly specify password --- README.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/README.md b/README.md index fa69452f..965f54e0 100644 --- a/README.md +++ b/README.md @@ -128,6 +128,8 @@ You can send files using your relay by entering `--relay` to change the relay th $ croc --relay "myrelay.example.com:9009" send [filename] ``` +#### Self-host relay (docker) + If it's easier you can also run a relay with Docker: @@ -135,6 +137,12 @@ If it's easier you can also run a relay with Docker: $ docker run -d -p 9009:9009 -p 9010:9010 -p 9011:9011 -p 9012:9012 -p 9013:9013 -e CROC_PASS='YOURPASSWORD' schollz/croc ``` +Be sure to include the password for the relay otherwise any requests will be rejected. + +``` +$ croc --pass YOURPASSWORD --relay "myreal.example.com:9009" send [filename] +``` + ## License MIT