Skip to content

Commit 59323fd

Browse files
daithihearnclaudeCopilot
authored
chore: switch indexer/api defaults to Docker Hub tag 6 (#18)
* chore: switch indexer/api defaults to Docker Hub tag 6 Use vechain/indexer:6 and vechain/indexer-api:6 from Docker Hub as the default images, replacing the ghcr.io references. Bumps version to 0.3.1. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com> * Potential fix for pull request finding Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com> --------- Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com> Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
1 parent d86f47f commit 59323fd

4 files changed

Lines changed: 6 additions & 6 deletions

File tree

AGENTS.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ Two things consumers depend on. Any change here is a breaking change for every d
5959
- **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.
6060
- **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.
6161
- **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.
62-
- **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.
62+
- **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.
6363

6464
## Testing
6565

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -138,8 +138,8 @@ All optional, all read from the environment:
138138
| `VECHAIN_DEV_THOR_API_CORS` | `*` | `--api-cors` |
139139
| `VECHAIN_DEV_GENESIS` | bundled `solo.default.json` | mounted genesis file |
140140
| `VECHAIN_DEV_HOME` | `~/.vechain-dev` | state directory |
141-
| `VECHAIN_DEV_INDEXER_IMAGE` | `ghcr.io/vechain/vechain-indexer/indexer:6.31.5` | indexer image |
142-
| `VECHAIN_DEV_INDEXER_API_IMAGE` | `ghcr.io/vechain/vechain-indexer/api:6.31.5` | indexer-api image |
141+
| `VECHAIN_DEV_INDEXER_IMAGE` | `vechain/indexer:6` | indexer image |
142+
| `VECHAIN_DEV_INDEXER_API_IMAGE` | `vechain/indexer-api:6` | indexer-api image |
143143
| `VECHAIN_DEV_EXPLORER_IMAGE` | `ghcr.io/vechain/block-explorer:2.41.0` | block-explorer image |
144144

145145
These work for both `vechain-dev solo up` and `vechain-dev up`.

compose/indexer.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ services:
4343
- vechain-thor
4444

4545
vechain-indexer:
46-
image: ${VECHAIN_DEV_INDEXER_IMAGE:-ghcr.io/vechain/vechain-indexer/indexer:6.31.5}
46+
image: ${VECHAIN_DEV_INDEXER_IMAGE:-vechain/indexer:6}
4747
container_name: vechain-indexer
4848
depends_on:
4949
mongo-setup:
@@ -61,7 +61,7 @@ services:
6161
- vechain-thor
6262

6363
vechain-indexer-api:
64-
image: ${VECHAIN_DEV_INDEXER_API_IMAGE:-ghcr.io/vechain/vechain-indexer/api:6.31.5}
64+
image: ${VECHAIN_DEV_INDEXER_API_IMAGE:-vechain/indexer-api:6}
6565
container_name: vechain-indexer-api
6666
depends_on:
6767
mongo-setup:

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@vechain/dev-stack",
3-
"version": "0.3.0",
3+
"version": "0.3.1",
44
"description": "Shared local dev environment for VeChain projects: thor-solo + indexer + block-explorer, with per-project address registration.",
55
"license": "MIT",
66
"author": "VeChain",

0 commit comments

Comments
 (0)