Fixes: 1) Ensure `install.ps1` handles non-zero exit codes gracefully; 2) Remove redundant `vm.overcommit_memory` Docker sysctl setting; 3) Add explicit exit command to `starter.ps1` for clean terminations; Extra: Minor formatting and consistency improvements across ENTRYPOINT scripts;
8 lines
399 B
Bash
8 lines
399 B
Bash
#!/usr/bin/bash
|
|
set -e
|
|
|
|
# wait for auxiliary services
|
|
poetry run python manage.py await_services
|
|
|
|
# run worker and metrics exporter
|
|
poetry run celery -A evibes worker --pool=prefork --concurrency=8 --loglevel=info -E --queues=default --prefetch-multiplier=1 --max-tasks-per-child=100 --max-memory-per-child=512000 --soft-time-limit=3600 --time-limit=7200 & /usr/local/bin/celery-prometheus-exporter
|