modified
This commit is contained in:
32
docker-compose.yml
Normal file
32
docker-compose.yml
Normal file
@@ -0,0 +1,32 @@
|
||||
version: "3"
|
||||
services:
|
||||
registry:
|
||||
container_name: registry
|
||||
restart: always
|
||||
image: registry:2
|
||||
ports:
|
||||
- 5000:5000
|
||||
volumes:
|
||||
- /mnt/NASbarracuda1TB/keese/registry:/var/lib/registry
|
||||
|
||||
autossh:
|
||||
container_name: autossh-keese-registry
|
||||
restart: always
|
||||
image: jnovack/autossh
|
||||
network_mode: host
|
||||
depends_on:
|
||||
- registry
|
||||
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
|
||||
Reference in New Issue
Block a user