first commit
This commit is contained in:
12
entrypoint-celery.sh
Normal file
12
entrypoint-celery.sh
Normal file
@@ -0,0 +1,12 @@
|
||||
#!/bin/bash
|
||||
|
||||
# Hata durumunda scripti durdur
|
||||
set -e
|
||||
|
||||
echo "Waiting for web service to complete migrations..."
|
||||
# Web servisinin migration'ları tamamlaması için bekle
|
||||
sleep 10
|
||||
|
||||
echo "Starting Celery worker with beat..."
|
||||
exec "$@"
|
||||
|
||||
Reference in New Issue
Block a user