|
@ -216,9 +216,11 @@ ssl_plugin_cert-provider_prepare() { |
|
|
|
|
|
|
|
|
options=$(yaml_key_val_str "options" "$cfg") || return 1 |
|
|
options=$(yaml_key_val_str "options" "$cfg") || return 1 |
|
|
service_config=$(yaml_key_val_str "$service" "$options") |
|
|
service_config=$(yaml_key_val_str "$service" "$options") |
|
|
compose --debug --add-compose-content "$service_config" run --service-ports "$service" \ |
|
|
|
|
|
crt create "$DOMAIN" $(echo "$SERVER_ALIAS" | shyaml -y get-values 2>/dev/null) || return 1 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
compose --debug --add-compose-content "$service_config" run --rm --service-ports "$service" \ |
|
|
|
|
|
crt create "$DOMAIN" $(echo "$SERVER_ALIAS" | shyaml -y get-values 2>/dev/null) || { |
|
|
|
|
|
err "Failed to launch letsencrypt for certificate creation." |
|
|
|
|
|
return 1 |
|
|
|
|
|
} |
|
|
config-add "\ |
|
|
config-add "\ |
|
|
services: |
|
|
services: |
|
|
$MASTER_TARGET_SERVICE_NAME: |
|
|
$MASTER_TARGET_SERVICE_NAME: |
|
|