From 2879b7fb5bbbdf697a7fd9a8349981165fe4dc44 Mon Sep 17 00:00:00 2001 From: bbh <535597762@qq.com> Date: Tue, 5 Aug 2025 09:34:11 +0800 Subject: [PATCH] doc:complete docment.md file --- document.md | 46 ++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 46 insertions(+) create mode 100644 document.md diff --git a/document.md b/document.md new file mode 100644 index 0000000..a8315e6 --- /dev/null +++ b/document.md @@ -0,0 +1,46 @@ +# Doucment + + + +## URLs + +The production or staging URLs would use these same paths, but with your own domain. + +### Development URLs + +Development URLs, for local development. + +Frontend: http://120.76.41.122:5173 + +Backend: http://120.76.41.122:8000 + +Automatic Interactive Docs (Swagger UI): http://120.76.41.122:8000/docs + +Automatic Alternative Docs (ReDoc): http://120.76.41.122:8000/redoc + +Adminer: http://120.76.41.122:8080 +user:postgres password:12345678 db:app + +Traefik UI: http://120.76.41.122:8090 + +MailCatcher: http://120.76.41.122:1080 + + +## 适配大陆的修订 +- 运行compose ,如果有无法自动下载的,可以手动下载 +- 前端dockerfile.playwright ,修改为 + +```dockerfile +FROM node:20 + +WORKDIR /app + +COPY package*.json /app/ +RUN npm config set registry https://registry.npmmirror.com/ + +RUN npm install playwright + +COPY ./ /app/ + +ARG VITE_API_URL=${VITE_API_URL} +``` \ No newline at end of file