elisescu / tty-proxy

The proxy used by the tty-share command for public facing sessions
https://tty-share.com/
MIT License
48 stars 14 forks source link

Release on Docker Hub #2

Open steadysupply opened 3 years ago

steadysupply commented 3 years ago

It would be great if the container image was published as part of the release process.

elisescu commented 3 years ago

I gave it a quick try with github actions, and I can't figure out why it continues to fail on login. Maybe you have experience/an idea of why this action could be failing? :)

The logs should be here: https://github.com/elisescu/tty-proxy/runs/1731069924?check_suite_focus=true

And the action file I gave a try with: https://github.com/elisescu/tty-proxy/commit/f5d60d901a539029d7c8e0e2ebcabb29aca9b03b

WladyX commented 2 years ago

I would also like to use this from dockerhub, unfortunatly haven't used github actions before in order to give a hand. for haproxy ssl i have used:

use_backend back_tty-share if { hdr(host) -i ts.domain.ro }

backend back_tty-share
    mode http
    balance roundrobin
    option forwardfor
    option httpclose
    http-request set-header X-Forwarded-Port %[dst_port]
    http-request add-header X-Forwarded-Proto https if { ssl_fc }
    option httpchk HEAD / HTTP/1.1\r\nHost:localhost
    timeout server  300000
    server tty-share localhost:8080 check

Maybe you would like to add it to docs.

Also would like to buy you a beer, where can i donate?

elisescu commented 2 years ago

This is so kind of you. Multumesc :). I haven't thought of enabling donations to the project, as I didn't expect anyone would, so it's not possible to donate now. But feel free to give my beer/donation to somebody else that you think would benefit from it - I'll appreciate that too :).

Thanks for the haproxy snippet - will add it at some point to the existing nginx example.