chore: update docs

This commit is contained in:
Bill Church 2024-08-19 19:10:08 +00:00
parent 3e45c98c62
commit e3ec6f08eb
No known key found for this signature in database

View file

@ -44,20 +44,10 @@ WebSSH2 is an HTML5 web-based terminal emulator and SSH client. It uses SSH2 as
## Docker Setup ## Docker Setup
1. Modify `config.json`: 1. Build and run the Docker container (with debug messages):
```json
{
"listen": {
"ip": "0.0.0.0",
"port": 2222
}
}
```
2. Build and run the Docker container:
```bash ```bash
docker build -t webssh2 . 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 ## Usage