Fix volume mounts for media and celere worker paths

This commit is contained in:
2025-12-12 20:48:16 +03:00
parent 6023496a7d
commit 6470fb7588
3 changed files with 11 additions and 3 deletions

View File

@@ -147,6 +147,12 @@ with schema_context('public'):
EOF
}
# Если manage.py не в текущей директории, но есть в подпапке myproject
if [ ! -f "manage.py" ] && [ -d "myproject" ]; then
echo "Changing directory to myproject..."
cd myproject
fi
case "$1" in
web)
wait_for_postgres