I installed Docker, then Docker Compose on a fresh debian installation to run seafile. It worked great until I enabled lets encrypt for our domain.
This is how the environment config looks like:
- SEAFILE_ADMIN_EMAIL=info@domain.tld
- SEAFILE_ADMIN_PASSWORD=mypassword
- SEAFILE_SERVER_LETSENCRYPT=true # THIS IS THE ONLY THING THAT CHANGED
- SEAFILE_SERVER_HOSTNAME=seafile.domain.tld
It worked just fine until I set the lets encrypt to true. I can see that the ssl certs are being generated but when I visit our domain I only get " This site can’t be reached".
I have looked on all the logs I could find but it only looks like nothing is happening so something has to be very wrong here.
Not sure where to continue looking and this must be very easy to reproduce?
Thanks.
Please see the below:
Attached seahub_settings.py,seafile.conf, seafile.nginx.conf.
I am running the docker using this command:
docker run -d --name sf7 -e SEAFILE_SERVER_LETSENCRYPT=true -e SEAFILE_SERVER_HOSTNAME=dummy.someserver.net -e SEAFILE_ADMIN_EMAIL=me@example.com -e SEAFILE_ADMIN_PASSWORD=a_very_secret_password -e SEAFILE_USE_HTTPS=1 -v c:/opt/seafile-data:/shared -v c:/opt/seafile-nginx:/etc/nginx/sites-enabled -p 80:80 -p 443:443 seafileltd/seafile:latest