Custom seafile port-v12 using docker

I created a topic where I explained how I understand the issue at hand and what could be done to “solve“ it.

Essentially you need to change SEAFILE_SERVER_HOSTNAME to include port number, and it can’t be the port number defined in caddy.yml, rather you have to specify direct port forwardings in seafile-server.yml:

seafile-server.yml:

seafile:
  ports: 
    - "<custom_seafile_port>:80"

.env:

SEAFILE_SERVER_HOSTNAME=<IP Address>:<custom_seafile_port>

Now Seafile is accessible at <IP Address>:<custom_seafile_port> instead of whatever is defined in caddy.yml, 4430 in your case.

But in my opinion it defeats the purpose of caddy reverse proxy at least to some degree.