diff --git a/Makefile b/Makefile index bb0e5996..f3bae461 100644 --- a/Makefile +++ b/Makefile @@ -3,17 +3,17 @@ APP_HOST ?= 0.0.0.0 APP_PORT ?= 8080 EXTERNAL_APP_PORT ?= ${APP_PORT} -run_es = docker-compose -f docker-compose.yml \ - run \ - -p ${EXTERNAL_APP_PORT}:${APP_PORT} \ - -e PY_IGNORE_IMPORTMISMATCH=1 \ - -e APP_HOST=${APP_HOST} \ - -e APP_PORT=${APP_PORT} \ - app-elasticsearch +run_es = docker-compose \ + run \ + -p ${EXTERNAL_APP_PORT}:${APP_PORT} \ + -e PY_IGNORE_IMPORTMISMATCH=1 \ + -e APP_HOST=${APP_HOST} \ + -e APP_PORT=${APP_PORT} \ + app-elasticsearch .PHONY: es-image es-image: - docker-compose -f docker-compose.yml build + docker-compose build .PHONY: docker-run-es docker-run-es: es-image @@ -29,7 +29,7 @@ test-es: .PHONY: run-es-database run-es-database: - docker-compose -f docker-compose.yml run --rm elasticsearch + docker-compose run --rm elasticsearch .PHONY: test test: test-elasticsearch