Skip to content

Commit

Permalink
build: Add port settings to the docker-test recipe
Browse files Browse the repository at this point in the history
  • Loading branch information
SinTan1729 committed May 31, 2024
1 parent f19f324 commit 69fc25a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@ 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}" -e public_mode="${PUBLIC_MODE}" \
-e site_url="${SITE_URL}" -e db_url="${DB_URL}" -e redirect_method="${REDIRECT_METHOD}" \
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 port="${PORT}"\
-e slug_style="${SLUG_STYLE}" -e slug_length="${SLUG_LENGTH}" -e cache_control_header="${CACHE_CONTROL_HEADER}"\
-d chhoto-url
docker logs chhoto-url -f
Expand Down

0 comments on commit 69fc25a

Please sign in to comment.