chore: update docs
This commit is contained in:
parent
3e45c98c62
commit
e3ec6f08eb
1 changed files with 2 additions and 12 deletions
14
README.md
14
README.md
|
@ -44,20 +44,10 @@ WebSSH2 is an HTML5 web-based terminal emulator and SSH client. It uses SSH2 as
|
|||
|
||||
## Docker Setup
|
||||
|
||||
1. Modify `config.json`:
|
||||
```json
|
||||
{
|
||||
"listen": {
|
||||
"ip": "0.0.0.0",
|
||||
"port": 2222
|
||||
}
|
||||
}
|
||||
```
|
||||
|
||||
2. Build and run the Docker container:
|
||||
1. Build and run the Docker container (with debug messages):
|
||||
```bash
|
||||
docker build -t webssh2 .
|
||||
docker run --name webssh2 -d -p 2222:2222 webssh2
|
||||
docker run --name webssh2 --rm -it -p 2222:2222 -e "DEBUG=webssh2*" webssh2
|
||||
```
|
||||
|
||||
## Usage
|
||||
|
|
Loading…
Reference in a new issue