We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 576fe71 commit d29adbbCopy full SHA for d29adbb
scripts.sh
@@ -85,14 +85,14 @@ clean_module() {
85
docker rmi -f $(docker images --filter=label=stage=ngx_http_auth_jwt_builder --quiet) 2> /dev/null || true
86
}
87
88
-start_nginx() {
+start() {
89
local port=$(get_port)
90
91
printf "${MAGENTA}Starting NGINX container (${IMAGE_NAME}) on port ${port}...${NC}\n"
92
docker run --rm --name "${IMAGE_NAME}" -d -p ${port}:80 ${FULL_IMAGE_NAME}:${NGINX_VERSION} >/dev/null
93
94
95
-stop_nginx() {
+stop() {
96
docker stop "${IMAGE_NAME}" >/dev/null
97
98
0 commit comments