Skip to content

Instantly share code, notes, and snippets.

@kafeg
Created October 23, 2024 21:22
Show Gist options
  • Save kafeg/539ef1f405a28b499d2354106f8bc7a2 to your computer and use it in GitHub Desktop.
Save kafeg/539ef1f405a28b499d2354106f8bc7a2 to your computer and use it in GitHub Desktop.
Synology WeTTY (Web-Terminal) Docker container (LAN only)
version: '3'
services:
wetty:
image: wettyoss/wetty
container_name: wetty
restart: unless-stopped
ports:
- "3000:3000"
command:
- --base=/
- --ssh-host=192.168.20.10 # Synology host URL
- --ssh-user=username
- --ssh-port=22
- --ssh-auth="publickey,password"
volumes:
- ./data/ssh/id_rsa:/root/.ssh/id_rsa:ro # Add here your SSH key which in authorized_keys in the Synology for auto-login
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment