jfroment / seedbox

A Docker-powered seedbox with persistent data and more cool stuff.
MIT License
319 stars 45 forks source link

Request : Local use only #38

Open verticalhost opened 1 year ago

verticalhost commented 1 year ago

Is it possible to redo the script but only locally compatible. So it would be without external use. The reason is that I use something much more flexible CloudFlare ZeroTrust Tunel. I can't get it to work via my server at home since it seems you are using traefik.

Censseo commented 1 year ago

the whole idea of this script is to configure traefik to expose self hosted services. What is the point of asking removing traefik??

jfroment commented 1 year ago

One of the purposes of this script is to have an only entrypoint for your selfhosted services, in an automated way. Everything goes through Traefik reverse proxy (port 443 or 80 if you configure it for httpOnly - see the documentation). On this part, it should work even with CloudFlare Tunnel.

The problem here is (I assume) the certificates. Traefik also handles them for their generation and renewal, but if you manually disable this feature it should maybe work. Try to disable (=comment) the following YAML parts:

You should be left with an http-only Traefik, and then you can tunnel through Cloudflare any mapping, but going through Traefik using custom subdomains.

Please tell me how it goes.