Skip to content

Commit 69e6308

Browse files
authored
Update Makefile
1 parent 5e927d5 commit 69e6308

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

Makefile

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -3,17 +3,17 @@ APP_HOST ?= 0.0.0.0
33
APP_PORT ?= 8080
44
EXTERNAL_APP_PORT ?= ${APP_PORT}
55

6-
run_es = docker-compose -f docker-compose.yml \
7-
run \
8-
-p ${EXTERNAL_APP_PORT}:${APP_PORT} \
9-
-e PY_IGNORE_IMPORTMISMATCH=1 \
10-
-e APP_HOST=${APP_HOST} \
11-
-e APP_PORT=${APP_PORT} \
12-
app-elasticsearch
6+
run_es = docker-compose \
7+
run \
8+
-p ${EXTERNAL_APP_PORT}:${APP_PORT} \
9+
-e PY_IGNORE_IMPORTMISMATCH=1 \
10+
-e APP_HOST=${APP_HOST} \
11+
-e APP_PORT=${APP_PORT} \
12+
app-elasticsearch
1313

1414
.PHONY: es-image
1515
es-image:
16-
docker-compose -f docker-compose.yml build
16+
docker-compose build
1717

1818
.PHONY: docker-run-es
1919
docker-run-es: es-image
@@ -29,7 +29,7 @@ test-es:
2929

3030
.PHONY: run-es-database
3131
run-es-database:
32-
docker-compose -f docker-compose.yml run --rm elasticsearch
32+
docker-compose run --rm elasticsearch
3333

3434
.PHONY: test
3535
test: test-elasticsearch

0 commit comments

Comments
 (0)