mirror of
https://github.com/remix-bot/fluxer.git
synced 2026-11-23 21:52:45 -05:00
chore: switch container entrypoint from shard to start
This commit is contained in:
1 parent
0a2bbc75d8
commit
fbe052b9da
3 files changed
+12
-2
No files matched your search
@@ -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 "$@"
|
||||
Reference in new issue
Block a user