chore: initial import
This commit is contained in:
17
README.md
Normal file
17
README.md
Normal file
@@ -0,0 +1,17 @@
|
||||
# trade-ingestor
|
||||
|
||||
Worker ingestujący ticki (Drift oracle) i zapisujący do `trade-api` (albo bezpośrednio do Hasury).
|
||||
|
||||
## Konfiguracja (najczęstsza)
|
||||
|
||||
- `INGEST_VIA=api`
|
||||
- `INGEST_API_URL=http://trade-api:8787` (base URL; endpoint to `/v1/ingest/tick`)
|
||||
- token write w pliku (domyślnie) `/app/tokens/alg.json` albo env `INGEST_AUTH_TOKEN`
|
||||
- RPC: `tokens/heliusN.json` (w k3s montowane jako Secret)
|
||||
|
||||
## Docker
|
||||
|
||||
```bash
|
||||
docker build -t trade-ingestor .
|
||||
docker run --rm trade-ingestor
|
||||
```
|
||||
Reference in New Issue
Block a user