etherai / selfhosted-gateway

Self-hosted Docker native tunneling to localhost. Expose local docker containers to the public Internet via a simple docker compose interface.
https://fractalnetworks.co
GNU Affero General Public License v3.0
1.32k stars 66 forks source link

Support non-root ssh login #20

Closed latetedemelon closed 1 year ago

latetedemelon commented 1 year ago

Unless I'm mistaken this seems to require leaving root access open on the VPS which is not ideal. Recommend updating to allow link creation via a non-root sudo account.

thebalaa commented 1 year ago

no requirement on leaving or allowing root logins, VPS user needs access to the docker socket, usually by adding them to the docker group with usermod -aG docker $USER