From 7486d335c416cfb67c4a9ef7cb7b1f8568c81afa Mon Sep 17 00:00:00 2001 From: Ni Rui Date: Sat, 24 Sep 2022 10:28:51 +0800 Subject: [PATCH] Add example file for docker-compose --- docker-compose.example.yaml | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 docker-compose.example.yaml diff --git a/docker-compose.example.yaml b/docker-compose.example.yaml new file mode 100644 index 00000000..f305332b --- /dev/null +++ b/docker-compose.example.yaml @@ -0,0 +1,21 @@ +version: "3.9" + +services: + sshwifty: + image: sshwifty:dev + container_name: sshwifty + user: "nobody:nobody" + build: ./ + restart: always + # environment: + # - SSHWIFTY_SHAREDKEY=WEB_ACCESS_PASSWORD + ports: + - "127.0.0.1:8182:8182/tcp" + stdin_open: true + tty: true + # deploy: + # replicas: 3 + # resources: + # limits: + # cpus: '0.3' + # memory: 600M