From 6cdacda510bdb61eccf13e4f2544d449208f7be1 Mon Sep 17 00:00:00 2001 From: SinTan1729 Date: Tue, 28 May 2024 18:20:20 -0500 Subject: [PATCH] build: Make testing more configurable using env variables --- Makefile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 57c0df9..fa3f58c 100644 --- a/Makefile +++ b/Makefile @@ -21,7 +21,9 @@ docker-stop: docker ps -aq --filter "name=chhoto-url" | xargs -r docker rm docker-test: docker-local docker-stop - docker run -p 4567:4567 --name chhoto-url -e password="${PASSWORD}" -d chhoto-url + docker run -p 4567:4567 --name chhoto-url -e password="${PASSWORD}" -e public_mode="${PUBLIC_MODE}" \ + -e site_url="${SITE_URL}" -e db_url="${DB_URL}" -e redirect_method="${REDIRECT_METHOD}" \ + -e slug_style="${SLUG_STYLE}" -e slug_length="${SLUG_LENGTH}" -d chhoto-url docker logs chhoto-url -f docker-dev: build-dev