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

Write gateway links to a single docker compose file on gateway to simplify management #39

Open thebalaa opened 7 months ago

thebalaa commented 7 months ago

Currently, create_link.sh launches a standalone container on the gateway for each link, instead lets write links to the same docker compose so the gateway operator can easily modify links without having to recreate them, for example when changing the domain(s) a link serves.

This change will also make it possible to backup all of gateway's link for easy recreation when upgrading or migrating to a new host.