Closed runnwerth closed 3 years ago
I assume you are using the docker-compose.yml
file provided in Annif repository? Using it the nginx.conf
should get mounted from the host system to the container at line 36.
Now I see that if the nginx.conf
is not present in the expected directory annif/nginx/
, an empty directory is created there, and NGINX won't start but an error ERROR: Encountered errors while bringing up the project
is printed.
If you don't need/want to pull the whole Annif repository, you could just get the nginx.conf
and put it to the same directory as the docker-compose.yml
and drop the directory part of the mount path on the host. (This should be explained better in the Wiki, or maybe there could be simpler way to insert to NGINX configuration.)
Note also that NGINX container is not really needed if you just want to use Maui backend; the NGINX section can be removed from the docker-compose.yml
.
When using docker-compose in order to set up the maui backend, there seems to be an issue: Instead of creating the file
/annif/nginx/nginx.conf
with the following contentan empty directory is created.