mirror of
https://github.com/jaxperro/winning-wallet-finder.git
synced 2026-07-27 15:57:47 +00:00
b7b1487175
Polymarket geoblocks order placement by IP and Railway ran the worker in a US region — fine for the paper bot (reads only) but a dead end for going live. Fly arn (Sweden, unrestricted, ~25ms from the CLOB's eu-west-2 primaries) passes: geocheck VERDICT TRADABLE, pm geoblock blocked:false. - host/geocheck.py: 3-probe geo-gate verdict (ipinfo, pm /api/geoblock, unauth CLOB order POST); --idle keeps a test machine up - host/start.sh: geocheck at boot (GEOCHECK_ONLY=1 = probe-and-idle test mode, no second book-writer); warns loudly if a region is blocked - fly.toml/fly.Dockerfile: wwf-copybot, single machine, http_service :8080 for the Alchemy push webhook (now wh_blf4qjjvfdbqs9mc -> fly.dev domain) - deploy_bot.sh: railway redeploy -> flyctl apps restart + banner wait Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
11 lines
433 B
Docker
11 lines
433 B
Docker
# Fly.io image for the 24/7 copybot worker (host/start.sh clones the repo
|
|
# fresh at boot and persists state via GitHub commits — see host/start.sh).
|
|
# Named fly.Dockerfile so Railway's pinned NIXPACKS builder ignores it.
|
|
FROM python:3.11-slim
|
|
RUN apt-get update \
|
|
&& apt-get install -y --no-install-recommends git ca-certificates \
|
|
&& rm -rf /var/lib/apt/lists/*
|
|
WORKDIR /app
|
|
COPY host/ /app/host/
|
|
CMD ["bash", "host/start.sh"]
|