diff --git a/cmd/api/main.go b/cmd/api/main.go index 7d301192..0391da6c 100644 --- a/cmd/api/main.go +++ b/cmd/api/main.go @@ -12,12 +12,6 @@ import ( redisDB "github.com/go-park-mail-ru/2023_2_Hamster/cmd/api/init/db/redis" "github.com/go-park-mail-ru/2023_2_Hamster/cmd/api/init/server" "github.com/go-park-mail-ru/2023_2_Hamster/internal/common/logger" - "github.com/prometheus/client_golang/prometheus" -) - -var ( - reg = prometheus.NewRegistry() - grpcMetrics = grpcPrometheus.NewServerMetrics() ) // @title Hamster API diff --git a/docker-compose.yml b/docker-compose.yml index 87ee8945..7b92d86b 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -60,7 +60,7 @@ services: hammy-redis: - container_name: hammy-redis #host + container_name: hammy-redis image: redis:latest restart: on-failure networks: @@ -71,7 +71,7 @@ services: hammywallet-api: container_name: ${CONTAINER_NAME} - image: ${REGISTRY}/${IMAGE_NAME}:${GITHUB_SHA_SHORT} #codemaster482/hammywallet:latest + image: ${REGISTRY}/${IMAGE_NAME}:${GITHUB_SHA_SHORT} env_file: - .env restart: always