k
|
6021a3883d
|
feat: auto-migrate SQLite data to Postgres on first deploy
- Add trumpsignal.db to git (one-time migration source)
- entrypoint.sh detects empty Postgres and runs migration automatically
- scripts/migrate_sqlite_to_postgres.py: posts, subscriptions, bot_trades
- Add psycopg2-binary to requirements for migration script
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
|
2026-04-21 20:48:05 +08:00 |
|
k
|
1981b73f1f
|
fix: complete requirements.txt and Docker setup for production deployment
- Add missing packages: openai, aiosqlite, msgpack, websocket-client, bitarray, ckzg
- Pin all versions from working venv (including eth-account 0.13.7, hyperliquid-python-sdk 0.23.0)
- Multi-stage Dockerfile: builder with cmake for ckzg compilation, slim runtime image
- docker-compose: postgres healthcheck with start_period, auto alembic migration on startup
- entrypoint.sh: alembic upgrade head before uvicorn
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
|
2026-04-21 20:12:59 +08:00 |
|