Problem running indigo container

21 views
Skip to first unread message

Tom Tailor

unread,
Nov 5, 2020, 7:46:01 AM11/5/20
to indigo-general
Hi

I started my container using

docker run --restart=always -d -p 8002:8002 -e "INDIGO_UWSGI_RUN_PARAMETERS=--plugin python3 --py-autoreload=1" -e "PYTHONPATH=/srv/indigo-python" -e "PYTHONDONTWRITEBYTECODE=1" --name=indigo_service epmlsop/indigo_service:latest /bin/sh -c "supervisord -n"

but the Server is not responding.
do i have to store the nginx config in the container ?

thanks

Savelyev Alexander

unread,
Nov 5, 2020, 8:17:32 AM11/5/20
to indigo-general
Hi
  • indigo-service runs only uwsgi on 8002 port

  • One needs to run nginx service and add uwsgi configuration
    see instructions here
    https://lifescience.opensource.epam.com/indigo/service/index.html

  • nginx should be run separately. The reason for the environment with separate web server is that ketcher static files and indigo-service should be hosted on the same server and port. Otherwise REST API will not work because of CORS

  • One can run nginx or any other http server which supports uwsgi (e.g. Tomcat)

  • Also please see #1 for some options to run nginx

Reply all
Reply to author
Forward
0 new messages