Docker compose installation fails to start

Hello all,

I would like to know if someone else is experiencing the same situation as me, when installing SeaFile (MC) in Docker using the ‘seafileltd/seafile-mc:latest’ image.

I’m building it using MariaDB (official image) v10.7, and the latest version of SeaFile image (tag:latest).
I didn’t add the Memcached container, as I didn’t see any related variable to be used.

After building the containers, Seafile starts, but fails to start (connection to DB is not stablished yet), showing the error in loop: ‘nginx: [emerg] invalid number of arguments in “server_name” directive in /etc/nginx/sites-enabled/seafile.nginx.conf:5’.

Here’s an old thread where was happening exactly the same thing:
Initial docker-compose fails during startup (search this title)

I think I set all the variables correctly, including the SEAFILE_SERVER_HOSTNAME one, even if I’m not going to connect via HTTPS, but local (HTTPS).

Thank you.

Well, by adding the local IP of my server to the server_name line (5th) inside ‘seafile.nginx.conf’ file, the error messages don’t appear now. But the WebGUI stills not appearing.