Accounts/ Email search + unlink/ Symmetric identity merge/ Schema v19 keys PK/ Web-app UX/ Setup wizard/ Post-payment flow

This commit is contained in:
Vladless
2026-04-13 18:50:08 +00:00
parent dfab5f9bc0
commit d2b9b1edbb
17 changed files with 708 additions and 63 deletions
+32
View File
@@ -0,0 +1,32 @@
#!/bin/sh
set -e
BOT_WORKERS="${BOT_WORKERS:-1}"
BASE="${LB_PORT:-3001}"
PYTHON="${PYTHON:-/app/venv/bin/python}"
if [ "$BOT_WORKERS" -le 1 ]; then
exec "$PYTHON" main.py
fi
PORTS=""
i=0
while [ $i -lt "$BOT_WORKERS" ]; do
p=$((BASE + i + 1))
[ -n "$PORTS" ] && PORTS="$PORTS,"
PORTS="${PORTS}${p}"
i=$((i + 1))
done
export WORKER_PORTS="$PORTS"
export LB_PORT="$BASE"
export LB_HOST="${LB_HOST:-0.0.0.0}"
i=0
while [ $i -lt "$BOT_WORKERS" ]; do
export WEBAPP_PORT=$((BASE + i + 1))
"$PYTHON" main.py &
i=$((i + 1))
done
exec "$PYTHON" scripts/load_balancer.py