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

9 lines
281 B
Plaintext
Raw Normal View History

#!/usr/bin/with-contenv bash
2022-11-22 20:55:25 +00:00
# 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