sarkyboy commited on
Commit
ed5fbab
·
1 Parent(s): 7b5a948

debug: add verbose environment and config logging

Browse files
Files changed (1) hide show
  1. entrypoint.sh +9 -1
entrypoint.sh CHANGED
@@ -46,7 +46,15 @@ if [ -n "$DB_URL" ]; then
46
  echo "[entrypoint] DATABASE_URL is set"
47
  fi
48
 
49
- echo "=== Final config.yaml ==="
 
 
 
 
 
 
 
 
50
  cat "$CONFIG"
51
  echo "========================="
52
 
 
46
  echo "[entrypoint] DATABASE_URL is set"
47
  fi
48
 
49
+ echo "=== [DEBUG] Environment Variables ==="
50
+ echo "MANAGEMENT_PASSWORD (len): ${#MANAGEMENT_PASSWORD}"
51
+ echo "DEPLOY: $DEPLOY"
52
+ echo "DATABASE_URL (set?): $([ -n "$DATABASE_URL" ] && echo "yes" || echo "no")"
53
+
54
+ echo "=== [DEBUG] Current Directory Structure ==="
55
+ ls -lR /CLIProxyAPI
56
+
57
+ echo "=== [DEBUG] Final config.yaml content ==="
58
  cat "$CONFIG"
59
  echo "========================="
60