doc:complete docment.md file
Some checks failed
Deploy to Staging / deploy (push) Has been cancelled
Lint Backend / lint-backend (push) Has been cancelled
Playwright Tests / changes (push) Has been cancelled
Playwright Tests / test-playwright (1, 4) (push) Has been cancelled
Playwright Tests / test-playwright (2, 4) (push) Has been cancelled
Playwright Tests / test-playwright (3, 4) (push) Has been cancelled
Playwright Tests / test-playwright (4, 4) (push) Has been cancelled
Playwright Tests / merge-playwright-reports (push) Has been cancelled
Playwright Tests / alls-green-playwright (push) Has been cancelled
Test Backend / test-backend (push) Has been cancelled
Test Docker Compose / test-docker-compose (push) Has been cancelled

This commit is contained in:
bbh
2025-08-05 09:32:10 +08:00
parent 04cf930d7b
commit 68254aea1f
2 changed files with 46 additions and 19 deletions

46
document.md Normal file
View File

@@ -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}
```

19
ysn.md
View File

@@ -1,19 +0,0 @@
# 该项目适配大陆的修订
- 运行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}
```