domain + subdomain
This commit is contained in:
+2
-1
@@ -497,10 +497,11 @@ function build_services() {
|
||||
recipe="$MIAOU_BASEDIR/recipes/$app/crud.sh"
|
||||
if [[ -f "$recipe" ]]; then
|
||||
echo "read [$app:$name] provided by container <$container>"
|
||||
command="env MIAOU_BASEDIR=$MIAOU_BASEDIR MIAOU_CONFIGDIR=$MIAOU_CONFIGDIR $recipe --port $port --container $container --name $name --fqdn $fqdn"
|
||||
command="env MIAOU_BASEDIR=$MIAOU_BASEDIR MIAOU_CONFIGDIR=$MIAOU_CONFIGDIR $recipe --port $port --container $container --name $name --fqdn $fqdn --domain $domain --subdomain $subdomain"
|
||||
[[ "$data" != "null" ]] && command+=" --data \"$data\""
|
||||
if ! eval "$command -r" >/dev/null; then
|
||||
echoinfo "CREATE RECIPE"
|
||||
# echo "$command -c"
|
||||
eval "$command -c"
|
||||
echoinfo "CREATE RECIPE: OK"
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user