docker-swag/root/etc/cont-init.d/31-require-url
2022-11-22 20:55:25 +00:00

9 lines
281 B
Plaintext

#!/usr/bin/with-contenv bash
# shellcheck shell=bash
# check to make sure that the required variables are set
if [[ -z "${URL}" ]]; then
echo "Please pass your URL as an environment variable in your docker run command. See docker info for more details."
sleep infinity
fi