Add support for endlessh

This commit is contained in:
Colin Hebert
2023-02-03 02:22:27 +11:00
parent d83f67a874
commit d69a7fa022
2 changed files with 18 additions and 0 deletions

View File

@@ -27,6 +27,8 @@ entryPoints:
tls: {} tls: {}
middlewares: middlewares:
- hsts@file - hsts@file
ssh:
address: :22
global: global:
sendAnonymousUsage: false sendAnonymousUsage: false

View File

@@ -0,0 +1,16 @@
name: SSH Protection
services:
endlessh:
hostname: endlessh
image: linuxserver/endlessh
environment:
PUID: ${NASCOMPOSE_UID?}
PGID: ${NASCOMPOSE_GID?}
networks:
- reverse-proxy
restart: unless-stopped
labels:
traefik.enable: true
traefik.tcp.routers.endlessh.entryPoints: ssh
traefik.tcp.services.endlessh.loadbalancer.server.port: 2222