Update README.md

This commit is contained in:
Nils 2020-09-17 11:21:20 +00:00 committed by GitHub
parent 39de1ab23e
commit e392199de8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -13,13 +13,28 @@ $ ssh-keygen -t rsa -b 4096 -N '' -f ./ssh-chat-key
Run the docker image:
```
$ docker run -p 2022:2022 -v /ssh-chat-key:/ssh_key marcoslater/ssh-chat:latest
$ docker run -p 2022:2022 -v /ssh-chat-key:/ssh_key -v /admin_keys:/admin_keys byreqz/ssh-chat:latest
```
You may supply additional arguments to the image, example:
```
$ docker run -p 22:22 -v /ssh-chat-key:/ssh_key marcoslater/ssh-chat:latest --bind ":22"
$ docker run -p 22:22 -v /ssh-chat-key:/ssh_key -v /admin_keys:/admin_keys byreqz/ssh-chat:latest --bind ":22"
```
Docker Compose:
```
version: '3.1'
services:
ssh-chat:
image: byreqz/ssh-chat:latest
restart: always
ports:
- "2022:2022"
volumes:
- ./ssh-chat-key:/ssh_key
- ./ssh-chat/admin_keys:/admin_keys
container_name: ssh-chat
```
# Development