From d66557fe991ad662c44c518f24f91b71f560c56c Mon Sep 17 00:00:00 2001 From: colin Date: Wed, 1 May 2024 02:27:52 +0000 Subject: [PATCH] Add docker-compose.yml --- docker-compose.yml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 docker-compose.yml diff --git a/docker-compose.yml b/docker-compose.yml new file mode 100644 index 0000000..1bf30d8 --- /dev/null +++ b/docker-compose.yml @@ -0,0 +1,14 @@ +version: '3.8' + +services: + ssh-timeout: + build: + context: . + dockerfile: Dockerfile + image: ssh-timeout-image + ports: + - "2222:2222" + environment: + SSH_BACKEND: "your-backend-ip:port" + SSH_MAX_DURATION: "600" + LISTEN_ADDR: ":2222" \ No newline at end of file