diff --git a/Dockerfile b/Dockerfile index dc7619a..826c589 100644 --- a/Dockerfile +++ b/Dockerfile @@ -60,7 +60,7 @@ ENV IM_INTERNAL_API_SERVICE_NAME=hotgo-admin ENV IM_INTERNAL_API_SECRET= ENV IM_WORKBENCH_API_BASE_URL=http://im-workbench.workbench-system.svc.cluster.local:6061 ENV IM_WORKBENCH_API_SERVICE_NAME=hotgo-admin -ENV IM_WORKBENCH_API_SECRET= +ENV IM_WORKBENCH_API_SECRET=hotgo-workbench-internal ENV IM_CONFIG_API_SERVICE_NAME=im-server ENV IM_CONFIG_API_SECRET= diff --git a/server/manifest/docker/entrypoint.sh b/server/manifest/docker/entrypoint.sh index 666039e..c441338 100644 --- a/server/manifest/docker/entrypoint.sh +++ b/server/manifest/docker/entrypoint.sh @@ -8,6 +8,8 @@ if [ -z "${IM_WORKBENCH_API_SECRET:-}" ]; then export IM_WORKBENCH_API_SECRET="$IM_INTERNAL_API_SECRET" elif [ -n "${IM_ADMIN_API_SECRET:-}" ]; then export IM_WORKBENCH_API_SECRET="$IM_ADMIN_API_SECRET" + else + export IM_WORKBENCH_API_SECRET="hotgo-workbench-internal" fi fi