forked from coop-cloud/traefik
20 lines
483 B
Bash
20 lines
483 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 }}
|
|
|
|
{{ if eq (env "CLOUDFLARE_ENABLED") "1" }}
|
|
export CLOUDFLARE_EMAIL=$(cat "$CLOUDFLARE_EMAIL_FILE")
|
|
export CLOUDFLARE_API_KEY=$(cat "$CLOUDFLARE_API_KEY_FILE")
|
|
{{ end }}
|
|
|
|
/entrypoint.sh "$@"
|