mirror of
https://github.com/inventree/InvenTree.git
synced 2025-06-13 10:35:40 +00:00
Simplify dockerfile / docker-compose
- Single data volume now also includes 'static' files - InvenTree source repo is now cloned into /home/inventree (to match the "dev" image)
This commit is contained in:
14
docker/start_prod_worker.sh
Normal file
14
docker/start_prod_worker.sh
Normal 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
|
Reference in New Issue
Block a user