docs: 认证授权服务部署文档
diff --git a/poa-api-docs/docker-entrypoint.sh b/poa-api-docs/docker-entrypoint.sh
new file mode 100644
index 0000000..a8d9ae9
--- /dev/null
+++ b/poa-api-docs/docker-entrypoint.sh
@@ -0,0 +1,25 @@
+#!/bin/sh
+
+replace_file() {
+  local file="$1"
+  local key="$2"
+  local value="$3"
+  sed -i "s;\${$key};$value;" $file
+}
+
+# 如果第一个参数是app,那么就启动执行nginx
+if [ "$1" = 'app' ]; then
+
+  if [ -n "$POA_SERVER_URL" ]; then
+    replace_file "/root/poa-api-docs/user-data-service-poa.v1.yaml" "POA_SERVER_URL" "$POA_SERVER_URL"
+    replace_file "/root/poa-api-docs/user-authorization-service-poa.v1.yaml" "POA_SERVER_URL" "$POA_SERVER_URL"
+    replace_file "/root/poa-api-docs/admin-center-poa.v1.yaml" "POA_SERVER_URL" "$POA_SERVER_URL"
+    replace_file "/root/poa-api-docs/communicate-center-poa.v1.yaml" "POA_SERVER_URL" "$POA_SERVER_URL"
+  fi
+
+  set -ex;
+  exec /root/poa-api-docs/exec.sh
+else
+  set -ex;
+  exec "$@"
+fi
\ No newline at end of file