feat(admin): 添加用户管理相关文件
添加用户管理视图、API和状态管理文件
This commit is contained in:
@@ -0,0 +1,49 @@
|
||||
services:
|
||||
admin-frontend-test:
|
||||
build:
|
||||
context: ./everything-is-suitable-admin
|
||||
dockerfile: Dockerfile.test
|
||||
container_name: admin-frontend-test
|
||||
ports:
|
||||
- "5174:5174"
|
||||
environment:
|
||||
- NODE_ENV=test
|
||||
- VITE_API_BASE_URL=http://host.docker.internal:8082
|
||||
- VITE_MOCK_ENABLED=false
|
||||
networks:
|
||||
- test-network
|
||||
extra_hosts:
|
||||
- "host.docker.internal:host-gateway"
|
||||
healthcheck:
|
||||
test: ["CMD", "curl", "-f", "http://localhost:5174"]
|
||||
interval: 10s
|
||||
timeout: 5s
|
||||
retries: 3
|
||||
start_period: 30s
|
||||
|
||||
admin-api-test:
|
||||
build:
|
||||
context: ./everything-is-suitable-api/everything-is-suitable-admin-app
|
||||
dockerfile: Dockerfile
|
||||
container_name: admin-api-test
|
||||
ports:
|
||||
- "8083:8082"
|
||||
environment:
|
||||
- SPRING_PROFILES_ACTIVE=test
|
||||
- SPRING_R2DBC_URL=r2dbc:postgresql://host.docker.internal:55432/everything_suitable_test
|
||||
- SPRING_R2DBC_USERNAME=postgres
|
||||
- SPRING_R2DBC_PASSWORD=postgres
|
||||
networks:
|
||||
- test-network
|
||||
extra_hosts:
|
||||
- "host.docker.internal:host-gateway"
|
||||
healthcheck:
|
||||
test: ["CMD", "curl", "-f", "http://localhost:8082/actuator/health"]
|
||||
interval: 10s
|
||||
timeout: 5s
|
||||
retries: 5
|
||||
start_period: 40s
|
||||
|
||||
networks:
|
||||
test-network:
|
||||
driver: bridge
|
||||
Reference in New Issue
Block a user