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

Fixed docker repo path.

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