Jan Dittberner
46e3db3a89
- add entrypoint script - add .dockerignore - fix shellcheck warnings in gvafile.sh - migrate to Celery 5 settings - downgrade importlib-metadata for Celery compatibility
12 lines
181 B
Bash
Executable file
12 lines
181 B
Bash
Executable file
#!/bin/sh
|
|
|
|
set -e
|
|
|
|
QUEUE="file"
|
|
TASKS="fileservertasks"
|
|
APP="gvafile"
|
|
|
|
. "/srv/${APP}/.venv/bin/activate"
|
|
cd /srv/${APP}/${APP}
|
|
celery -A "${TASKS}" worker -Q "${QUEUE}" -E -l info
|