From da0bb82b982287ecd89f7b4bfa2e624b326adc87 Mon Sep 17 00:00:00 2001 From: Vladimir Garvardt Date: Mon, 18 Mar 2019 10:19:22 +0100 Subject: [PATCH] Fixed apimock container --- Makefile | 2 +- docker-compose.yml | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 809cbbd..aef9902 100644 --- a/Makefile +++ b/Makefile @@ -21,7 +21,7 @@ test: HEALTH_GO_RD_DSN="redis://`docker-compose port redis 6379`/" \ HEALTH_GO_MG_DSN="mongodb://`docker-compose port mongo 27017`/" \ HEALTH_GO_MS_DSN="test:test@tcp(`docker-compose port mysql 3306`)/test?charset=utf8" \ - HEALTH_GO_HTTP_URL="http://`docker-compose port http 80`/status" \ + HEALTH_GO_HTTP_URL="http://`docker-compose port http 8080`/status" \ go test -cover ./... .PHONY: all deps test lint diff --git a/docker-compose.yml b/docker-compose.yml index 5791a6b..2812680 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -43,4 +43,6 @@ services: http: image: pierreprinetti/apimock:latest ports: - - "80" + - "8080" + environment: + HOST: ":8080"