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"