Skip to content
Snippets Groups Projects
Commit a15e3169 authored by David Trattnig's avatar David Trattnig
Browse files

Fixed docker repo path.

parent 6efa4589
No related branches found
No related tags found
No related merge requests found
...@@ -132,13 +132,13 @@ if [[ $docker == "true" ]]; then ...@@ -132,13 +132,13 @@ if [[ $docker == "true" ]]; then
### Runs Engine API using Gunicorn ### ### Runs Engine API using Gunicorn ###
if [[ $mode == "engine" ]]; then if [[ $mode == "api" ]]; then
exec sudo docker run --name aura-engine-api --rm -it \ exec sudo docker run --name aura-engine-api --rm -it \
-u $UID:$GID \ -u $UID:$GID \
-p 127.0.0.1:8050:5000 \ -p 127.0.0.1:8050:5000 \
-v "$BASE_D":/srv \ -v "$BASE_D":/srv \
-v "$BASE_D/configuration/":/etc/aura \ -v "$BASE_D/configuration/":/etc/aura \
--tmpfs /var/log/aura/ aura/engine /srv/engine-api.py \ --tmpfs /var/log/aura/ autoradio/engine /srv/engine-api.py \
--device autoradio/engine /bin/bash \ --device autoradio/engine /bin/bash \
-c "gunicorn -c configuration/gunicorn.conf.py engine-api:app" -c "gunicorn -c configuration/gunicorn.conf.py engine-api:app"
fi fi
......
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