2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-08-01 17:41:33 +00:00

Cleanup docker files

This commit is contained in:
Oliver Walters
2021-04-18 15:17:57 +10:00
parent 83002a5d51
commit 270c0ea85d
9 changed files with 22 additions and 45 deletions

14
docker/start_worker.sh Normal file
View File

@@ -0,0 +1,14 @@
#!/bin/sh
echo "Starting InvenTree worker..."
sleep 5
# Wait for the database to be ready
cd $INVENTREE_MNG_DIR
python manage.py wait_for_db
sleep 10
# Now we can launch the background worker process
python manage.py qcluster