Merge pull request #410 from pataquets/master

Docker Compose manifest: mount host's keys and few other improvements.
This commit is contained in:
Andrey Petrov authored and GitHub committed 2022-03-07 14:44:07 -05:00
commit 68e9d6880d
2 files changed
+12 -6

No files matched your search

+3 -3
View File
@@ -12,7 +12,7 @@ Custom SSH server written in Go. Instead of a shell, you get a chat prompt.
Join the party:
```
``` console
$ ssh ssh.chat
```
@@ -52,7 +52,7 @@ Additionally, `make debug` runs the server with an http `pprof` server. This all
## Quick Start
```
``` console
Usage:
ssh-chat [OPTIONS]
@@ -74,7 +74,7 @@ Help Options:
After doing `go get github.com/shazow/ssh-chat/...` on this repo, you should be able
to run a command like:
```
``` console
$ ssh-chat --verbose --bind ":22" --identity ~/.ssh/id_dsa
```
+9 -3
View File
@@ -1,7 +1,13 @@
version: '3'
version: '3.2'
services:
app:
container_name: ssh-chat
build: .
ports:
- 2022:2022
restart: always
- 2022:2022
restart: unless-stopped
volumes:
- type: bind
source: ~/.ssh/
target: /root/.ssh/
read_only: true