docker-swag/root/etc/cont-init.d/31-require-url

8 lines
257 B
Plaintext
Raw Normal View History

#!/usr/bin/with-contenv 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