Switch ttyd to use SSH instead of telnet for proper ANSI support
This commit is contained in:
@@ -34,7 +34,7 @@ services:
|
|||||||
- "7681:7681"
|
- "7681:7681"
|
||||||
environment:
|
environment:
|
||||||
- TERM=ansi
|
- TERM=ansi
|
||||||
command: sh -c "apk add --no-cache inetutils-telnet && ttyd -p 7681 -t termType=ansi -t fontSize=16 telnet synchronet 23"
|
command: sh -c "apk add --no-cache openssh-client sshpass && ttyd -p 7681 -t fontSize=16 ssh -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -p 22 synchronet"
|
||||||
depends_on:
|
depends_on:
|
||||||
- synchronet
|
- synchronet
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user