feat: add docker image to build binaries used in tests

This commit is contained in:
adrian
2025-09-05 08:19:49 +02:00
committed by Adrian Benavides
parent fc38403d28
commit 24504d0f94
7 changed files with 106 additions and 6 deletions

View File

@@ -14,5 +14,20 @@ services:
shm_size: "1gb"
volumes:
- postgres_data:/var/lib/postgresql/data
test-runner:
build:
context: .
dockerfile: run.Dockerfile
depends_on:
- db
environment:
RUST_LOG: "info"
DATABASE_URL: postgres://postgres:mypassword@db:5432/tycho_indexer_0
RPC_URL: "${RPC_URL}"
SUBSTREAMS_API_TOKEN: "${SUBSTREAMS_API_TOKEN}"
AUTH_API_KEY: "${AUTH_API_KEY}"
entrypoint: ["/entrypoint.sh", "${PROTOCOLS}"]
volumes:
postgres_data: