From 6077e4c37da1577d046620eae166d538c1a3f16d Mon Sep 17 00:00:00 2001 From: lorsan Date: Wed, 20 May 2026 21:56:53 +0300 Subject: [PATCH] refactor: edit docker compose dev and update go mod --- .../compose/dev/hub.docker-compose.yaml | 24 ------------------- go.mod | 3 +++ 2 files changed, 3 insertions(+), 24 deletions(-) diff --git a/deployments/compose/dev/hub.docker-compose.yaml b/deployments/compose/dev/hub.docker-compose.yaml index 709e12d..e69de29 100644 --- a/deployments/compose/dev/hub.docker-compose.yaml +++ b/deployments/compose/dev/hub.docker-compose.yaml @@ -1,24 +0,0 @@ -services: - postgres-db: - image: postgres:latest - volumes: - - pgdata:/var/lib/postgresql - environment: - POSTGRES_DB: "${DB_NAME}" - POSTGRES_USER: "${DB_USER}" - POSTGRES_PASSWORD: "${DB_PASS}" - networks: - - homeops-dev - ports: - - "${DB_PORT}:5432" - healthcheck: - test: ["CMD-SHELL", "pg_isready -U ${DB_USER}"] - interval: 5s - retries: 5 - restart: always - -volumes: - pgdata: - -networks: - homeops-dev: \ No newline at end of file diff --git a/go.mod b/go.mod index bda85b7..041d5c0 100644 --- a/go.mod +++ b/go.mod @@ -9,6 +9,7 @@ require ( github.com/ilyakaznacheev/cleanenv v1.5.0 github.com/mattn/go-sqlite3 v1.14.44 github.com/rs/zerolog v1.35.1 + github.com/stretchr/testify v1.11.1 google.golang.org/grpc v1.81.0 google.golang.org/protobuf v1.36.11 gopkg.in/yaml.v3 v3.0.1 @@ -22,6 +23,7 @@ require ( github.com/containerd/errdefs v1.0.0 // indirect github.com/containerd/errdefs/pkg v0.3.0 // indirect github.com/containerd/log v0.1.0 // indirect + github.com/davecgh/go-spew v1.1.2-0.20180830191138-d8f796af33cc // indirect github.com/distribution/reference v0.6.0 // indirect github.com/docker/go-connections v0.7.0 // indirect github.com/docker/go-units v0.5.0 // indirect @@ -41,6 +43,7 @@ require ( github.com/opencontainers/go-digest v1.0.0 // indirect github.com/opencontainers/image-spec v1.1.1 // indirect github.com/pkg/errors v0.9.1 // indirect + github.com/pmezard/go-difflib v1.0.1-0.20181226105442-5d4384ee4fb2 // indirect github.com/remyoudompheng/bigfft v0.0.0-20200410134404-eec4a21b6bb0 // indirect go.opentelemetry.io/auto/sdk v1.2.1 // indirect go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.68.0 // indirect