change container tag, use 'latest'
This commit is contained in:
parent
0a1950d46c
commit
10bccaedbf
12
ab-nginx.sh
12
ab-nginx.sh
@ -177,7 +177,7 @@ if [ -z "$SSL_CERT" ]; then
|
|||||||
--env-file ab-nginx.params \
|
--env-file ab-nginx.params \
|
||||||
$vmount \
|
$vmount \
|
||||||
-p ${HTTP_PORT}:80 \
|
-p ${HTTP_PORT}:80 \
|
||||||
ab-nginx:testing /bin/sh
|
docker.asifbacchus.app/nginx/ab-nginx:latest /bin/sh
|
||||||
else
|
else
|
||||||
# exec normally
|
# exec normally
|
||||||
printf "${cyan}\nRunning NGINX on %s...${norm}\n" "$container_name"
|
printf "${cyan}\nRunning NGINX on %s...${norm}\n" "$container_name"
|
||||||
@ -185,7 +185,7 @@ if [ -z "$SSL_CERT" ]; then
|
|||||||
--env-file ab-nginx.params \
|
--env-file ab-nginx.params \
|
||||||
$vmount \
|
$vmount \
|
||||||
-p ${HTTP_PORT}:80 \
|
-p ${HTTP_PORT}:80 \
|
||||||
ab-nginx:testing
|
docker.asifbacchus.app/nginx/ab-nginx:latest
|
||||||
fi
|
fi
|
||||||
# run with TLS1.2
|
# run with TLS1.2
|
||||||
elif [ "$SSL_CERT" ] && [ "$TLS13_ONLY" = FALSE ]; then
|
elif [ "$SSL_CERT" ] && [ "$TLS13_ONLY" = FALSE ]; then
|
||||||
@ -200,7 +200,7 @@ elif [ "$SSL_CERT" ] && [ "$TLS13_ONLY" = FALSE ]; then
|
|||||||
-v "$SSL_CHAIN":/certs/chain.pem:ro \
|
-v "$SSL_CHAIN":/certs/chain.pem:ro \
|
||||||
-v "$DH":/certs/dhparam.pem:ro \
|
-v "$DH":/certs/dhparam.pem:ro \
|
||||||
-p ${HTTP_PORT}:80 -p ${HTTPS_PORT}:443 \
|
-p ${HTTP_PORT}:80 -p ${HTTPS_PORT}:443 \
|
||||||
ab-nginx:testing /bin/sh
|
docker.asifbacchus.app/nginx/ab-nginx:latest /bin/sh
|
||||||
else
|
else
|
||||||
# exec normally
|
# exec normally
|
||||||
printf "${cyan}\nRunning NGINX on %s (TLS 1.2)...${norm}\n" "$container_name"
|
printf "${cyan}\nRunning NGINX on %s (TLS 1.2)...${norm}\n" "$container_name"
|
||||||
@ -212,7 +212,7 @@ elif [ "$SSL_CERT" ] && [ "$TLS13_ONLY" = FALSE ]; then
|
|||||||
-v "$SSL_CHAIN":/certs/chain.pem:ro \
|
-v "$SSL_CHAIN":/certs/chain.pem:ro \
|
||||||
-v "$DH":/certs/dhparam.pem:ro \
|
-v "$DH":/certs/dhparam.pem:ro \
|
||||||
-p ${HTTP_PORT}:80 -p ${HTTPS_PORT}:443 \
|
-p ${HTTP_PORT}:80 -p ${HTTPS_PORT}:443 \
|
||||||
ab-nginx:testing
|
docker.asifbacchus.app/nginx/ab-nginx:latest
|
||||||
fi
|
fi
|
||||||
# run with TLS1.3
|
# run with TLS1.3
|
||||||
elif [ "$SSL_CERT" ] && [ "$TLS13_ONLY" = TRUE ]; then
|
elif [ "$SSL_CERT" ] && [ "$TLS13_ONLY" = TRUE ]; then
|
||||||
@ -226,7 +226,7 @@ elif [ "$SSL_CERT" ] && [ "$TLS13_ONLY" = TRUE ]; then
|
|||||||
-v "$SSL_KEY":/certs/privkey.pem:ro \
|
-v "$SSL_KEY":/certs/privkey.pem:ro \
|
||||||
-v "$SSL_CHAIN":/certs/chain.pem:ro \
|
-v "$SSL_CHAIN":/certs/chain.pem:ro \
|
||||||
-p ${HTTP_PORT}:80 -p ${HTTPS_PORT}:443 \
|
-p ${HTTP_PORT}:80 -p ${HTTPS_PORT}:443 \
|
||||||
ab-nginx:testing /bin/sh
|
docker.asifbacchus.app/nginx/ab-nginx:latest /bin/sh
|
||||||
else
|
else
|
||||||
# exec normally
|
# exec normally
|
||||||
printf "${cyan}\nRunning NGINX on %s (TLS 1.3)...${norm}\n" "$container_name"
|
printf "${cyan}\nRunning NGINX on %s (TLS 1.3)...${norm}\n" "$container_name"
|
||||||
@ -237,7 +237,7 @@ elif [ "$SSL_CERT" ] && [ "$TLS13_ONLY" = TRUE ]; then
|
|||||||
-v "$SSL_KEY":/certs/privkey.pem:ro \
|
-v "$SSL_KEY":/certs/privkey.pem:ro \
|
||||||
-v "$SSL_CHAIN":/certs/chain.pem:ro \
|
-v "$SSL_CHAIN":/certs/chain.pem:ro \
|
||||||
-p ${HTTP_PORT}:80 -p ${HTTPS_PORT}:443 \
|
-p ${HTTP_PORT}:80 -p ${HTTPS_PORT}:443 \
|
||||||
ab-nginx:testing
|
docker.asifbacchus.app/nginx/ab-nginx:latest
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user