Bind challenge container port to localhost only

This commit is contained in:
Kristóf Tóth 2019-11-13 13:05:35 +01:00
parent 990991217d
commit 5e9fc16cac
1 changed files with 4 additions and 4 deletions

View File

@ -45,7 +45,7 @@ challenge::run() {
fi fi
popd popd
docker run --rm \ docker run --rm \
-p ${CHALLENGE_PORT}:${CHALLENGE_PORT} \ -p 127.0.0.1:${CHALLENGE_PORT}:${CHALLENGE_PORT} \
${mount_volumes:-} \ ${mount_volumes:-} \
${@:-} \ ${@:-} \
-e AVATAO_SECRET="${AVATAO_SECRET}" ${IMAGE_NAME} -e AVATAO_SECRET="${AVATAO_SECRET}" ${IMAGE_NAME}