Skip to content

Commit

Permalink
Update Makefile
Browse files Browse the repository at this point in the history
  • Loading branch information
jonhealy1 authored Feb 23, 2022
1 parent 5e927d5 commit 69e6308
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down

0 comments on commit 69e6308

Please sign in to comment.