chore: consolidate docker-compose and add integration tests

- Merge infrastructure/docker-compose.yml + docker-compose.app.yml into root docker-compose.yml with profiles (infra/app).
- Add healthchecks for mysql/redis/rabbitmq/mci-server/channel-service and depends_on conditions.
- Rewrite scripts/local-up.sh to use profiles and wait for healthy states.
- Add curl to mci-server and channel-service Docker images for healthchecks.
- Add npm test script to admin-web (type-check + build smoke test).
- Add scripts/test-external-api.sh covering 11 API endpoints.
- Verify Java (7/7), Python (6/6), npm build, external API (11/11), and UI flows.
This commit is contained in:
2026-07-07 13:35:41 +08:00
parent 033580aa52
commit 51a373e06c
9 changed files with 347 additions and 138 deletions

View File

@@ -14,6 +14,8 @@ RUN mvn -N install && \
FROM eclipse-temurin:21-jre-alpine
RUN apk add --no-cache curl
WORKDIR /app
COPY --from=builder /app/mci-server/target/*.jar app.jar