From 760f780da293b0ba88bd953f95f3fcd2ec76d3e9 Mon Sep 17 00:00:00 2001 From: Roy Crihfield Date: Tue, 11 Jul 2023 20:53:02 +0800 Subject: [PATCH] debug compose --- .gitea/workflows/test.yml | 2 +- test/compose.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.gitea/workflows/test.yml b/.gitea/workflows/test.yml index 5a8f22e..a396108 100644 --- a/.gitea/workflows/test.yml +++ b/.gitea/workflows/test.yml @@ -26,7 +26,7 @@ jobs: git config --global url."https://$TOKEN:@git.vdb.to/".insteadOf "https://git.vdb.to/" - name: "Run DB container" env: - DATABASE_HOSTNAME: http://gitea.local + DATABASE_HOSTNAME: gitea.local run: | set -x docker compose -f test/compose.yml up --attach ipld-eth-db & diff --git a/test/compose.yml b/test/compose.yml index 0cf637d..c248855 100644 --- a/test/compose.yml +++ b/test/compose.yml @@ -20,6 +20,6 @@ services: POSTGRES_DB: "cerc_testing" POSTGRES_PASSWORD: "password" ports: - - 8077:5432 + - 127.0.0.1:8077:5432 # volumes: # - ../indexer/database/file:/file_indexer