chore: switch container entrypoint from shard to start

This commit is contained in:
NoLogicAlan committed 2026-10-21 02:05:25 +03:00
1 parent 0a2bbc75d8
commit fbe052b9da
3 files changed
+12 -2

No files matched your search

+10
View File
@@ -32,8 +32,18 @@ if [ "$1" = "node" ] && [ "$2" = "shard.mjs" ]; then
echo "[Docker] Starting Remix bot (sharded supervisor)..."
fi
if [ "$1" = "npm" ] && [ "$2" = "start" ]; then
echo "[Docker] Starting Remix bot (standard start)..."
fi
if [ "$1" = "npm" ] && [ "$2" = "run" ] && [ "$3" = "shard" ]; then
echo "[Docker] Starting Remix bot (sharded supervisor via npm run shard)..."
fi
echo "[Docker] Testing cluster egress IP and api.fluxer.app TLS connection..."
echo -n "[Docker] Cluster Public IP: "
curl -s -m 5 https://api.ipify.org || echo "Failed to get IP"
echo ""
curl -v -m 5 https://api.fluxer.app/v1/gateway/bot 2>&1 | head -n 25 || true
exec "$@"