From e392199de80c631acf2fb6279b1448be50f7dde9 Mon Sep 17 00:00:00 2001 From: Nils <32552517+byReqz@users.noreply.github.com> Date: Thu, 17 Sep 2020 11:21:20 +0000 Subject: [PATCH] Update README.md --- README.md | 19 +++++++++++++++++-- 1 file changed, 17 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index cde6651..df14883 100644 --- a/README.md +++ b/README.md @@ -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