This commit is contained in:
zino
2023-11-29 13:25:48 +01:00
parent 6825b5da4f
commit 659fbc9de0
7 changed files with 155 additions and 1 deletions

View File

@@ -0,0 +1,21 @@
version: "3"
services:
autossh:
container_name: autossh-keese-registry
restart: always
image: jnovack/autossh
network_mode: host
volumes:
- ./ssh/id_rsa:/id_rsa
environment:
- AUTOSSH_GATETIME=0
- PubkeyAuthentication=yes
- StrictHostKeyChecking=false
- PasswordAuthentication=no
- SSH_SERVER_ALIVE_INTERVAL=30
- ExitOnForwardFailure=yes
- SSH_REMOTE_USER=autotunnel
- SSH_REMOTE_HOST=arwing.zinomedia.de
- SSH_REMOTE_PORT=1337
- SSH_TUNNEL_PORT=8060 # incoming port on remote server
- SSH_TARGET_PORT=5000 # port of application to forward