Refactor: Unified pipeline execution, simplified UI, and fixed Docker config
- Backend: Refactored tasks.py to directly invoke run_single_fna_pipeline.py for consistency. - Backend: Changed output format to ZIP and added auto-cleanup of intermediate files. - Backend: Fixed language parameter passing in API and tasks. - Frontend: Removed CRISPR Fusion UI elements from Submit and Monitor views. - Frontend: Implemented simulated progress bar for better UX. - Frontend: Restored One-click load button and added result file structure documentation. - Docker: Fixed critical Restarting loop by removing incorrect image directive in docker-compose.yml. - Docker: Optimized Dockerfile to correct .pixi environment path issues and prevent accidental deletion of frontend assets.
This commit is contained in:
17
README.md
17
README.md
@@ -385,23 +385,20 @@ bttoxin-pipeline/
|
||||
|
||||
## Docker Deployment
|
||||
|
||||
For production deployment or easy setup without installing pixi/conda:
|
||||
For production deployment:
|
||||
|
||||
```bash
|
||||
# 1. Build and start the service
|
||||
docker compose -f docker/compose/docker-compose.simple.yml up -d
|
||||
# Build and start the service with Traefik integration
|
||||
docker compose -f docker/compose/docker-compose.traefik.yml -p compose up -d --build
|
||||
|
||||
# 2. Access the services
|
||||
# Frontend: http://localhost
|
||||
# Backend API: http://localhost/api/docs
|
||||
# Access: https://bttiaw.hzau.edu.cn
|
||||
```
|
||||
|
||||
The Docker setup uses a single container with Nginx managing both frontend assets and backend API proxying.
|
||||
The setup uses Traefik for SSL termination and routing. The backend API and frontend assets are served by the `bttoxin-pipeline` container.
|
||||
|
||||
**Available Docker configurations:**
|
||||
- `docker/compose/docker-compose.yml` - Full configuration with multiple deployment options
|
||||
- `docker/compose/docker-compose.simple.yml` - Simple single-container deployment (recommended for quick start)
|
||||
- `docker/compose/docker-compose.traefik.yml` - Traefik-based deployment for production
|
||||
- `docker/compose/docker-compose.traefik.yml` - Production deployment (Recommended)
|
||||
- `docker/compose/docker-compose.simple.yml` - Simple deployment (No Traefik)
|
||||
- `docker/compose/docker-compose.test.yml` - Test configuration
|
||||
|
||||
**Volume Mounts:**
|
||||
|
||||
Reference in New Issue
Block a user