mirror of
https://github.com/schollz/croc.git
synced 2025-10-11 13:21:00 +02:00
clearly specify password
This commit is contained in:
parent
493ae9306d
commit
4824033619
1 changed files with 8 additions and 0 deletions
|
@ -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]
|
$ croc --relay "myrelay.example.com:9009" send [filename]
|
||||||
```
|
```
|
||||||
|
|
||||||
|
#### Self-host relay (docker)
|
||||||
|
|
||||||
If it's easier you can also run a relay with 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
|
$ 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
|
## License
|
||||||
|
|
||||||
MIT
|
MIT
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue