traefik/entrypoint.sh.tmpl
3wc 46010aeb95
Some checks failed
continuous-integration/drone/push Build is failing
continuous-integration/drone Build is failing
Enable Gandi DNS challenge for Letsencrypt
2021-07-18 16:30:22 +02:00

15 lines
313 B
Bash

#!/bin/sh
set -e
{{ if eq (env "OVH_ENABLED") "1" }}
export OVH_CONSUMER_KEY=$(cat "$OVH_CONSUMER_KEY_FILE")
export OVH_APPLICATION_SECRET=$(cat "$OVH_APPLICATION_SECRET_FILE")
{{ end }}
{{ if eq (env "GANDI_ENABLED") "1" }}
export GANDIV5_API_KEY=$(cat "$GANDIV5_API_KEY_FILE")
{{ end }}
/entrypoint.sh "$@"