Skip to content

Commit

Permalink
Fixed apimock container
Browse files Browse the repository at this point in the history
  • Loading branch information
vgarvardt committed Mar 18, 2019
1 parent 1f00d8e commit da0bb82
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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
4 changes: 3 additions & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,4 +43,6 @@ services:
http:
image: pierreprinetti/apimock:latest
ports:
- "80"
- "8080"
environment:
HOST: ":8080"

0 comments on commit da0bb82

Please sign in to comment.