Skip to content

Commit

Permalink
Merge pull request #410 from pataquets/master
Browse files Browse the repository at this point in the history
Docker Compose manifest: mount host's keys and few other improvements.
  • Loading branch information
shazow authored Mar 7, 2022
2 parents df72223 + 3f857cf commit 68e9d68
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 6 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
```

Expand Down Expand Up @@ -52,7 +52,7 @@ Additionally, `make debug` runs the server with an http `pprof` server. This all

## Quick Start

```
``` console
Usage:
ssh-chat [OPTIONS]

Expand All @@ -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
```

Expand Down
12 changes: 9 additions & 3 deletions docker-compose.yml
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 68e9d68

Please sign in to comment.