2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-08-27 13:55:54 +00:00
Files
.github
InvenTree
ci
deploy
docker
Dockerfile
dev-config.env
docker-compose.dev.yml
docker-compose.yml
gunicorn.conf.py
nginx.conf
start_dev_server.sh
start_dev_worker.sh
start_prod_server.sh
start_prod_worker.sh
images
.coveragerc
.gitattributes
.gitignore
CONTRIBUTING.md
LICENSE
README.md
RELEASE.md
crowdin.yml
requirements.txt
setup.cfg
tasks.py
InvenTree/docker/start_prod_worker.sh
Oliver Walters 7dd63b36da 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)
2021-06-16 22:36:05 +10:00

14 lines
230 B
Bash

#!/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