ComprefaceUi not starting up
Describe the bug
A clear and concise description of what the bug is.
To Reproduce
Steps to reproduce the behavior:
-
Download CompreFace_1.1.0.zip archive or run: wget -q -O tmp.zip 'https://github.com/exadel-inc/CompreFace/releases/download/v1.1.0/CompreFace_1.1.0.zip' && unzip tmp.zip && rm tmp.zip
-
To start CompreFace run: docker-compose up -d
-
Open in your browser: http://localhost:8000/login' (Site not found)
- run command docker logs compreface-ui See error in [emerg] 1#1: host not found in upstream "compreface-core:3000" in /etc/nginx/conf.d/nginx.conf:10 nginx: [emerg] host not found in upstream "compreface-core:3000" in /etc/nginx/conf.d/nginx.conf:10 /docker-entrypoint.sh: /docker-entrypoint.d/ is not empty, will attempt to perform configuration /docker-entrypoint.sh: Looking for shell scripts in /docker-entrypoint.d/ /docker-entrypoint.sh: Launching /docker-entrypoint.d/10-listen-on-ipv6-by-default.sh 10-listen-on-ipv6-by-default.sh: info: /etc/nginx/conf.d/default.conf is not a file or does not exist /docker-entrypoint.sh: Launching /docker-entrypoint.d/20-envsubst-on-templates.sh 20-envsubst-on-templates.sh: Running envsubst on /etc/nginx/templates/nginx.conf.template to /etc/nginx/conf.d/nginx.conf /docker-entrypoint.sh: Launching /docker-entrypoint.d/30-tune-worker-processes.sh /docker-entrypoint.sh: Configuration complete; ready for start up
Expected behavior
login page should open
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
- OS: [e.g. iOS] Linux ubuntu 22.04
- Browser [e.g. chrome, safari] chrome
- Version [e.g. 22] 22.04
Logs [emerg] 1#1: host not found in upstream "compreface-core:3000" in /etc/nginx/conf.d/nginx.conf:10 nginx: [emerg] host not found in upstream "compreface-core:3000" in /etc/nginx/conf.d/nginx.conf:10 /docker-entrypoint.sh: /docker-entrypoint.d/ is not empty, will attempt to perform configuration /docker-entrypoint.sh: Looking for shell scripts in /docker-entrypoint.d/ /docker-entrypoint.sh: Launching /docker-entrypoint.d/10-listen-on-ipv6-by-default.sh 10-listen-on-ipv6-by-default.sh: info: /etc/nginx/conf.d/default.conf is not a file or does not exist /docker-entrypoint.sh: Launching /docker-entrypoint.d/20-envsubst-on-templates.sh 20-envsubst-on-templates.sh: Running envsubst on /etc/nginx/templates/nginx.conf.template to /etc/nginx/conf.d/nginx.conf /docker-entrypoint.sh: Launching /docker-entrypoint.d/30-tune-worker-processes.sh /docker-entrypoint.sh: Configuration complete; ready for start up Run those commands and attach result to the ticket:
As a note, I had a similar issue, and it just happened that CompreFace took REALLY long to start (upwards of 10 minutes on a 4-core VPS)
我也遇到了类似的问题,docker容器启动,但在浏览器中打不开ui界面,也没有任何报错