As the title suggests. I’ve tried basically everything, but it just doesn’t work, unless i use port 80.
Note:- I’ve removed all caddy labels and removed caddy from .env file as well. I don’t run caddy when running docker-compose up. Just tell me if i should switch back to caddy if it’ll be easier to run on custom port with caddy.
My first attempt was using cloudflare zero tunnel- and it worked flawlessly, just one problem - very slow speed- but that’s inherent of cloudflare zero tunnel. Because im behind cgnat, i can’t just expose port 80 and 443.
My next and current attempt is using zerotier - it works but only when i leave the ports : “80:80” in the seafile-server.yml. But i can’t assign my port 80 to seafile, because it’ll be used by npm. So i need to use a custom port, say 8015, when i set ports : “8015:8015” in the .yml, after compose up -d i have to manually change the seafile.nginx.conf to listen on 8015, otherwise the website doesn’t load. But then when i try to upload anything, i get network error, and nothing uploads. Then even i change the seahub_settings.py FILE_SERVER_ROOT=10.245.1.10:8015/seafhttp, (note there’s http:// before 10.245… because forum won’t let me input full url) it still doesn’t work.
I read in docs that in v12 service_url is no longer used??
Also in a similar discusstion someone suggested as a solution for them is to use http’s’. My port 80 also didn’t work without https, even tho i have no ssl and can’t have one because domain is an ip and it’s not public.
My conf : - using docker-compose, the .env file is set to hostname=10.245.1.10, protocol=http, then in the seafile-server.yml.
Any help will be immensely appreciated!!