mirror of
https://github.com/minoplhy/chhoto-url.git
synced 2024-11-24 01:46:45 +00:00
build: Add port settings to the docker-test recipe
This commit is contained in:
parent
f19f3249cc
commit
69fc25a264
4
Makefile
4
Makefile
@ -21,8 +21,8 @@ docker-stop:
|
|||||||
docker ps -aq --filter "name=chhoto-url" | xargs -r docker rm
|
docker ps -aq --filter "name=chhoto-url" | xargs -r docker rm
|
||||||
|
|
||||||
docker-test: docker-local docker-stop
|
docker-test: docker-local docker-stop
|
||||||
docker run -p 4567:4567 --name chhoto-url -e password="${PASSWORD}" -e public_mode="${PUBLIC_MODE}" \
|
docker run -p ${PORT}:${PORT} --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 site_url="${SITE_URL}" -e db_url="${DB_URL}" -e redirect_method="${REDIRECT_METHOD}" -e port="${PORT}"\
|
||||||
-e slug_style="${SLUG_STYLE}" -e slug_length="${SLUG_LENGTH}" -e cache_control_header="${CACHE_CONTROL_HEADER}"\
|
-e slug_style="${SLUG_STYLE}" -e slug_length="${SLUG_LENGTH}" -e cache_control_header="${CACHE_CONTROL_HEADER}"\
|
||||||
-d chhoto-url
|
-d chhoto-url
|
||||||
docker logs chhoto-url -f
|
docker logs chhoto-url -f
|
||||||
|
Loading…
Reference in New Issue
Block a user