mirror of
https://github.com/SinTan1729/chhoto-url
synced 2025-02-05 13:52:33 -06:00
build: Make testing more configurable using env variables
This commit is contained in:
parent
ed2be0e883
commit
6cdacda510
1 changed files with 3 additions and 1 deletions
4
Makefile
4
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
|
||||
|
|
Loading…
Reference in a new issue