From ff398cfc3ccfd05e46b3aefbac2768deb2f894b2 Mon Sep 17 00:00:00 2001 From: Laurent Luce Date: Tue, 27 Aug 2024 13:35:53 -0400 Subject: [PATCH] Debug docker networking --- .github/workflows/ci_wip.yml | 2 ++ docker-compose.yml | 9 +++++++-- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci_wip.yml b/.github/workflows/ci_wip.yml index 23d05d3..da84d8d 100644 --- a/.github/workflows/ci_wip.yml +++ b/.github/workflows/ci_wip.yml @@ -39,6 +39,8 @@ jobs: - name: Start kontrol service and Postgres run: | + cat /etc/docker/daemon.json + docker version docker compose -f docker-compose.yml up -d - name: Install CLI diff --git a/docker-compose.yml b/docker-compose.yml index af9ce08..4447e92 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -1,3 +1,8 @@ +networks: + cont: + driver: bridge + enable_ipv6: false + services: kontrol-service: image: kontrol-service:latest-amd64 @@ -10,7 +15,7 @@ services: - DB_PASSWORD=kurtosis - DEV_MODE=true ports: - - 'localhost:8080:8080' + - '8080:8080' depends_on: - postgres postgres: @@ -21,7 +26,7 @@ services: - POSTGRES_PASSWORD=kurtosis - POSTGRES_DB=kardinal ports: - - 'localhost:5432:5432' + - '5432:5432' volumes: - postgres:/var/lib/postgresql/data volumes: