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
4 changes: 2 additions & 2 deletions api/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM ghcr.io/deluxtreme/subindexer:latest
FROM ghcr.io/deluxtreme/subindexer:v0.0.6-sqlite

ENV DATABASE_URL=postgres://postgres:rindexer@database:5432/postgres
ENV DATABASE_URL=/app/data/rindexer.db
ENV API_PORT=3000
2 changes: 1 addition & 1 deletion dappnode_package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "subindexer-gnosis.public.dappnode.eth",
"version": "0.1.0",
"version": "0.2.0",
"description": "Circles subscription indexer, API and redeemer",
"type": "service",
"author": "bh2smith",
Expand Down
5 changes: 0 additions & 5 deletions db/Dockerfile

This file was deleted.

36 changes: 8 additions & 28 deletions docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,51 +1,31 @@
version: "3.5"
volumes:
postgres_data: {}
project_data: {}
event_data: {}
services:
database:
build:
context: db
dockerfile: Dockerfile
restart: unless-stopped
volumes:
- postgres_data:/var/lib/postgresql
ports:
- "5440:5432"
healthcheck:
test:
- CMD-SHELL
- pg_isready -U postgres
interval: 5s
timeout: 5s
retries: 5
start_period: 10s
indexer:
build:
context: rindexer
dockerfile: Dockerfile
depends_on:
database:
condition: service_healthy
volumes:
- project_data:/app/project_path
working_dir: /app/project_path
- event_data:/app/data
command:
- start
- indexer
image: indexer.subindexer-gnosis.public.dappnode.eth:0.1.0
image: indexer.subindexer-gnosis.public.dappnode.eth:0.2.0
api:
build:
context: api
dockerfile: Dockerfile
volumes:
- event_data:/app/data
depends_on:
database:
condition: service_healthy
indexer:
condition: service_started
environment:
REDEEMER_PK:
REDEEM_INTERVAL: 86400
GNOSIS_RPC_URL: http://execution.gnosis.dncore.dappnode:8545
ports:
- 3030:3000
restart: unless-stopped
image: api.subindexer-gnosis.public.dappnode.eth:0.1.0
image: api.subindexer-gnosis.public.dappnode.eth:0.2.0
6 changes: 6 additions & 0 deletions releases.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,11 @@
"uploadedTo": {
"dappnode": "Tue, 18 Nov 2025 21:48:54 GMT"
}
},
"0.2.0": {
"hash": "/ipfs/QmYzXYTrbWaWuHwa3kR7ftFZQSMPZZwTD9oNbdUYABrzLQ",
"uploadedTo": {
"dappnode": "Thu, 20 Nov 2025 08:38:56 GMT"
}
}
}
7 changes: 5 additions & 2 deletions rindexer/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,10 @@
# Use the official rindexer image
FROM ghcr.io/joshstevens19/rindexer
FROM ghcr.io/bh2smith/rindexer:sha-c0ea448eaabbff6a331c6538fae3016702e53817

ENV DATABASE_URL=postgres://postgres:rindexer@database:5432/postgres
# Install SQLite runtime library for local testing
RUN apt-get update && apt-get install -y libsqlite3-0 && rm -rf /var/lib/apt/lists/*
Comment on lines +4 to +5
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Note that libsqlite was not included in the branch released indexer so its been included in the image here. Once all these items land, we can remove this additional install.


ENV DATABASE_URL=/app/data/rindexer.db

# Copy the rindexer configuration
WORKDIR /app/project_path
Expand Down
2 changes: 1 addition & 1 deletion rindexer/rindexer.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ networks:
chain_id: 100
rpc: http://execution.gnosis.dncore.dappnode:8545
storage:
postgres:
sqlite:
enabled: true
native_transfers:
enabled: false
Expand Down