New Docker 13 CE with caddy only Port 80

Hello everyone,

I’m once again trying to install version 13 with Docker behind my own HA proxy. If possible, I’d like to deploy it using the existing Nginx and Caddy in Docker.

When I use HTTP, I can log in and create files, but I can’t upload or download anything because I’m accessing Seafile via HTTPS through the proxy.

As soon as I switch to HTTPS, Caddy tries to obtain a certificate, which it fails to do, and port 80 becomes unreachable.

Is it possible to run Caddy only on port 80 and still have upload and download functionality?

Thanks in advance for your help.


I found a solution:

I modified the following two lines in the Seafile.yml file:

   ......
 environment:
      ## Manuell angepasst
      - SEAFILE_SERVER_PROTOCOL=https
      - SEADOC_SERVER_URL=https://${SEAFILE_SERVER_HOSTNAME:?Variable is not set or empty}/sdoc-server
      ## Original
      - SEAFILE_MYSQL_DB_HOST=${SEAFILE_........

and left this line set to http in the .env

SEAFILE_SERVER_PROTOCOL=http

Now Caddy is running on port 80, no more errors, and HAProxy is handling the SSL.

Thanks a lot and have a nice day.

Thomas