We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9404d2e commit 6a19bc6Copy full SHA for 6a19bc6
1 file changed
backend/entrypoint.sh
@@ -3,12 +3,13 @@
3
# Redirect all output to stderr so Railway shows it
4
exec 1>&2
5
6
-echo "=== ENTRYPOINT v3 ==="
+echo "=== ENTRYPOINT v4 ==="
7
echo "PORT=${PORT}"
8
-echo "DATABASE_URL length: ${#DATABASE_URL}"
+echo "DATABASE_URL=${DATABASE_URL}"
9
10
echo "Running migrations..."
11
alembic upgrade head
12
+echo "Migrations done with exit code: $?"
13
-echo "Starting uvicorn..."
14
-exec uvicorn app.main:app --host 0.0.0.0 --port ${PORT:-8000}
+echo "Starting uvicorn on port ${PORT:-8000}..."
15
+exec uvicorn app.main:app --host 0.0.0.0 --port ${PORT:-8000} --log-level debug
0 commit comments