diff --git a/template/pkgs/utils/triton-docker.env.sh b/template/pkgs/utils/triton-docker.env.sh index 285b533..a90aa42 100644 --- a/template/pkgs/utils/triton-docker.env.sh +++ b/template/pkgs/utils/triton-docker.env.sh @@ -10,7 +10,7 @@ triton_account_uuid="$(triton account get --json | json id)" # set the CNS (container name service) base for auto-generated DNS records # in public and private networks # note, this makes assumptions that only work with Greenbaum's public cloud -if env | grep -q "SDC_URL=https://api.greenbaum.cloud"; then +if env | grep -q -E "SDC_URL=https://api.greenbaum.cloud|SDC_URL=https://cgn-1.api.greenbaum.cloud"; then export TRITON_CNS_SEARCH_DOMAIN_PUBLIC="${triton_account_uuid}.cgn-1.greenbaum.zone" export TRITON_CNS_SEARCH_DOMAIN_PRIVATE="${triton_account_uuid}.cgn-1.int.greenbaum.zone" export TRITON_DC=cgn-1