changed docker public image
This commit is contained in:
parent
1770c31977
commit
3ea34b6979
2 changed files with 6 additions and 1 deletions
|
|
@ -51,7 +51,7 @@ http {
|
|||
rewrite ^/(files/static)/(.*)$ /voila-server/voila/$1/$2 last;
|
||||
|
||||
location /co2-voila-server/ {
|
||||
proxy_pass http://localhost:8082/co2-voila-server/;
|
||||
proxy_pass http://localhost:8083/co2-voila-server/;
|
||||
}
|
||||
rewrite ^/co2-app$ /voila-server/ last;
|
||||
rewrite ^/(files/static)/(.*)$ /voila-server/voila/$1/$2 last;
|
||||
|
|
|
|||
|
|
@ -12,5 +12,10 @@ cd /opt/caimira/src/caimira
|
|||
--Voila.tornado_settings 'allow_origin=*' \
|
||||
>> /var/log/expert-app.log 2>&1 &
|
||||
|
||||
/opt/caimira/app/bin/python -m voila /opt/caimira/src/caimira/apps/simulator/caimira.ipynb \
|
||||
--port=8083 --no-browser --base_url=/co2-voila-server/ \
|
||||
--Voila.tornado_settings 'allow_origin=*' \
|
||||
>> /var/log/co2-app.log 2>&1 &
|
||||
|
||||
# Run the calculator in the foreground.
|
||||
/opt/caimira/app/bin/python -m caimira.apps.calculator --port 8081 --no-debug
|
||||
|
|
|
|||
Loading…
Reference in a new issue