Initial commit

This commit is contained in:
2021-09-04 22:35:39 +02:00
commit 0584d79e9a
5 changed files with 294 additions and 0 deletions

22
docker-compose.yaml Normal file
View File

@@ -0,0 +1,22 @@
version: "3"
networks:
web:
external: true
services:
ssh:
build: ./build
restart: unless-stopped
networks:
web:
environment:
SSH_USERS:
volumes:
- ./authorized_keys:/conf.d/authorized_keys
- ./ssh:/etc/ssh
labels:
traefik.enable: true
traefik.tcp.services.ssh.loadbalancer.server.port: 22
traefik.tcp.routers.ssh.rule: HostSNI(`*`)
traefik.tcp.routers.ssh.entrypoints: websecure