Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion AGENTS.md
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ Two things consumers depend on. Any change here is a breaking change for every d
- **Address book is the only contract for inter-project state.** The shape of `~/.vechain-dev/config/<project>.json` (`{ project, profiles, addresses, updatedAt }`) is load-bearing — changing it changes the contract every consumer has already written against.
- **Spring profile names live in consumer projects.** When adding a new profile-keyed start-block env var to the indexer, append it to `SOLO_START_BLOCKS` in `lib/addressBook.mjs` so its cursor defaults to `0` for solo.
- **Container/service names are stable identifiers** (`thor-solo`, `mongo-node1`, `vechain-indexer`, `vechain-indexer-api`, `block-explorer`). The CLI references them by name; don't rename without updating every callsite.
- **Images are pinned via env var with a default tag** in each compose file (e.g. `${VECHAIN_DEV_INDEXER_IMAGE:-ghcr.io/vechain/vechain-indexer/indexer:6.28}`). Bump the default tag when intentionally upgrading.
- **Images are configurable via env var with a default tag** in each compose file (e.g. `${VECHAIN_DEV_INDEXER_IMAGE:-vechain/indexer:6}`). Override via `VECHAIN_DEV_INDEXER_IMAGE` / `VECHAIN_DEV_INDEXER_API_IMAGE` if you need an exact (non-floating) tag.

## Testing

Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -138,8 +138,8 @@ All optional, all read from the environment:
| `VECHAIN_DEV_THOR_API_CORS` | `*` | `--api-cors` |
| `VECHAIN_DEV_GENESIS` | bundled `solo.default.json` | mounted genesis file |
| `VECHAIN_DEV_HOME` | `~/.vechain-dev` | state directory |
| `VECHAIN_DEV_INDEXER_IMAGE` | `ghcr.io/vechain/vechain-indexer/indexer:6.31.5` | indexer image |
| `VECHAIN_DEV_INDEXER_API_IMAGE` | `ghcr.io/vechain/vechain-indexer/api:6.31.5` | indexer-api image |
| `VECHAIN_DEV_INDEXER_IMAGE` | `vechain/indexer:6` | indexer image |
| `VECHAIN_DEV_INDEXER_API_IMAGE` | `vechain/indexer-api:6` | indexer-api image |
| `VECHAIN_DEV_EXPLORER_IMAGE` | `ghcr.io/vechain/block-explorer:2.41.0` | block-explorer image |

These work for both `vechain-dev solo up` and `vechain-dev up`.
Expand Down
4 changes: 2 additions & 2 deletions compose/indexer.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ services:
- vechain-thor

vechain-indexer:
image: ${VECHAIN_DEV_INDEXER_IMAGE:-ghcr.io/vechain/vechain-indexer/indexer:6.31.5}
image: ${VECHAIN_DEV_INDEXER_IMAGE:-vechain/indexer:6}
container_name: vechain-indexer
depends_on:
mongo-setup:
Expand All @@ -61,7 +61,7 @@ services:
- vechain-thor

vechain-indexer-api:
image: ${VECHAIN_DEV_INDEXER_API_IMAGE:-ghcr.io/vechain/vechain-indexer/api:6.31.5}
image: ${VECHAIN_DEV_INDEXER_API_IMAGE:-vechain/indexer-api:6}
container_name: vechain-indexer-api
depends_on:
mongo-setup:
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@vechain/dev-stack",
"version": "0.3.0",
"version": "0.3.1",
"description": "Shared local dev environment for VeChain projects: thor-solo + indexer + block-explorer, with per-project address registration.",
"license": "MIT",
"author": "VeChain",
Expand Down