Skip to content
Snippets Groups Projects
Commit 9189d32f authored by Benedikt's avatar Benedikt
Browse files

changed pathes

parent 469bf55b
No related branches found
No related tags found
No related merge requests found
......@@ -12,8 +12,8 @@ RUN pip install --no-cache-dir -r dsi-parser-frontend/requirements.txt
RUN pip install supervisor
EXPOSE 5020 5021
RUN cd dsi-parser-frontend
# Command to start Supervisor, which handles starting both the Bokeh server and FastAPI
CMD ["supervisord", "-c", "dsi-parser-frontend/supervisord.conf"]
CMD ["supervisord", "-c", "supervisord.conf"]
#CMD ["bokeh", "serve", "dsi-parser-frontend/", "--port", "5020", "--allow-websocket-origin", "*","--use-xheaders","--prefix","dsi-parser-frontend"]
......@@ -2,14 +2,14 @@
nodaemon=true
[program:bokeh]
command=bokeh serve dsi-parser-frontend/ --port 5020 --allow-websocket-origin=* --use-xheaders --prefix dsi-parser-frontend
command=bokeh serve ./main.py --port 5020 --allow-websocket-origin=* --use-xheaders --prefix dsi-parser-frontend
autostart=true
autorestart=true
stderr_logfile=/var/log/bokeh_stderr.log
stdout_logfile=/var/log/bokeh_stdout.log
[program:fastapi]
command=uvicorn dsi-parser-frontend/restAPIServer:app --host 0.0.0.0 --port 5021
command=uvicorn restAPIServer:app --host 0.0.0.0 --port 5021
autostart=true
autorestart=true
stderr_logfile=/var/log/fastapi_stderr.log
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment