aboutsummaryrefslogtreecommitdiffstats
path: root/sampledata/archive-kv
diff options
context:
space:
mode:
authorAdam Soltys <[email protected]>2026-03-16 23:38:47 -0700
committerAdam Soltys <[email protected]>2026-03-16 23:38:47 -0700
commitee88e5f213334382cbea04402cab9bc29405412a (patch)
treeaf340b5582cf69c19a56c22754caafae10cc203e /sampledata/archive-kv
parent988b7c1b028f0528433acc36a54a4a3c514108e3 (diff)
downloadcoinos-server-ee88e5f213334382cbea04402cab9bc29405412a.tar.gz
coinos-server-ee88e5f213334382cbea04402cab9bc29405412a.zip
streamline dev setup and docker images
- Rewrite setup.sh: auto-installs Docker, downloads regtest snapshot, pulls images, starts all services. Idempotent, works on fresh Ubuntu/macOS. - Create coinos-base image (196MB) shared by all containers: bitcoin, elements, lightning, strfry, kvrocks, electrs, tigerbeetle, chopsticks. Total pull ~490MB, down from ~4.3GB. - Move all images to ghcr.io/coinos/* namespace. - Drop nutshell (mint/wallet), postgres, mon from default dev compose. - Comment out ark stack (optional), guard ark.ts against empty config. - Add missing sampledata: lightningc, strfry, kvrocks, valkey configs. - Strip strfry binary (145MB debug symbols removed). - Use single CLN version (v25.12.1) for all 3 lightning nodes. - Switch valkey to alpine variant (110MB → 41MB). - Update config.ts.sample with correct service URLs. - Regtest snapshot hosted on GitHub Releases (~2MB). Co-Authored-By: Claude Opus 4.6 (1M context) <[email protected]>
Diffstat (limited to 'sampledata/archive-kv')
-rw-r--r--sampledata/archive-kv/kvrocks.conf12
1 files changed, 12 insertions, 0 deletions
diff --git a/sampledata/archive-kv/kvrocks.conf b/sampledata/archive-kv/kvrocks.conf
new file mode 100644
index 00000000..0a75a51e
--- /dev/null
+++ b/sampledata/archive-kv/kvrocks.conf
@@ -0,0 +1,12 @@
+bind 0.0.0.0
+port 6379
+workers 4
+dir /data
+
+# Low memory footprint for archival workload
+rocksdb.block_cache_size 256
+rocksdb.compression zstd
+rocksdb.wal_size_limit_mb 256
+
+# Log to stdout for Docker
+log-dir stdout