avoid unnecessary nested content
This commit is contained in:
21
ssh-protection/docker-compose.yml
Normal file
21
ssh-protection/docker-compose.yml
Normal file
@@ -0,0 +1,21 @@
|
||||
name: ssh-protection
|
||||
|
||||
services:
|
||||
endlessh:
|
||||
hostname: endlessh
|
||||
image: lscr.io/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.routers.endlessh.rule: HostSNI(`*`)
|
||||
traefik.tcp.services.endlessh.loadbalancer.server.port: 2222
|
||||
|
||||
networks:
|
||||
reverse-proxy:
|
||||
external: true
|
||||
Reference in New Issue
Block a user