configs for deployment option c

Merge request reports

Loading
+1 −0
Changes for go-apps/meep-ipe/Dockerfile: 1 added line, 0 removed lines.
Original line number Diff line number Diff line
@@ -29,6 +29,7 @@ ENV MEEP_CSE_URL=""
ENV MEEP_CSE_PORT=""
ENV MEEP_CSE_ID=""
ENV MEEP_CSE_NAME=""
ENV MEEP_INITIATED_MN_CSE=""
ENV MEEP_STANDALONE=""

COPY ./meep-ipe /meep-ipe
+12 −0
Changes for go-apps/meep-ipe/entrypoint.sh: 12 added lines, 0 removed lines.
Original line number Diff line number Diff line
@@ -92,6 +92,18 @@ else
    CSE_NAME="${MEEP_CSE_NAME}"
fi

# Optionally append the MEC platform and sandbox name to the CSE ID/name
# (<base>-<mecplatform>-<sandbox>), matching the naming used by meep-acme-mn-cse;
# empty parts are skipped. Enabled only when MEEP_INITIATED_MN_CSE=true.
if [ "${MEEP_INITIATED_MN_CSE}" == "true" ]; then
    for suffix in "${MECPLATFORM}" "${SANDBOXNAME}"; do
        if [ -n "${suffix}" ]; then
            CSE_ID="${CSE_ID}-${suffix}"
            CSE_NAME="${CSE_NAME}-${suffix}"
        fi
    done
fi

# CSE HTTP Basic auth credentials — leave empty if the CSE has no auth
CSE_USER="${MEEP_CSE_USER}"
CSE_PASSWORD="${MEEP_CSE_PASSWORD}"
Loading