You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/en/2-development-tutorial/1-docker-deployment.md
+89-10Lines changed: 89 additions & 10 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -94,9 +94,30 @@ The `das` section in the configuration file is for the **Data Acquisition System
94
94
95
95
### 3.1 Deployment Method Selection
96
96
97
-
The system provides two one-click deployment methods. You can choose based on your needs:
97
+
The system provides three one-click deployment methods. You can choose based on your needs:
98
98
99
-
#### Method 1: Auto-Build Deployment (Recommended for Beginners)
99
+
#### Method 1: Docker Hub Image Deployment (Recommended for Production)
100
+
101
+
Using `docker-compose.dockerhub.yml`, uses pre-published Docker Hub images:
102
+
103
+
```bash
104
+
# Navigate to deployment directory
105
+
cd sources/gc-qa-rag-server/deploy
106
+
107
+
# Start services using Docker Hub images
108
+
docker compose -f docker-compose.dockerhub.yml up -d
109
+
```
110
+
111
+
**Use Cases**:
112
+
113
+
- ✅ Production environment deployment
114
+
- ✅ Quick startup (no build time required)
115
+
- ✅ Using stable versions
116
+
- ✅ Good network environment
117
+
118
+
**Note**: Before using, you need to replace `your-dockerhub-username` in the configuration file with your actual Docker Hub username.
119
+
120
+
#### Method 2: Auto-Build Deployment (Recommended for Beginners)
100
121
101
122
Using `docker-compose.yml`, the system will automatically build the latest code:
102
123
@@ -115,9 +136,9 @@ docker compose up -d --build
115
136
- ✅ Want to use latest code
116
137
- ✅ Don't want to manually build images
117
138
118
-
#### Method 2: Pre-Built Image Deployment (Recommended for Production)
139
+
#### Method 3: Pre-Built Image Deployment
119
140
120
-
Using `docker-compose.image.yml`, uses pre-built images:
141
+
Using `docker-compose.image.yml`, uses locally pre-built images:
121
142
122
143
```bash
123
144
# Navigate to deployment directory
@@ -136,10 +157,9 @@ docker compose -f docker-compose.image.yml up -d
136
157
137
158
**Use Cases**:
138
159
139
-
- ✅ Production environment deployment
140
160
- ✅ Strict version control environment
141
-
- ✅ Existing image registry
142
-
- ✅ Quick startup (no build time required)
161
+
- ✅ Existing local image registry
162
+
- ✅ Limited network environment
143
163
144
164
### 3.2 Service Components
145
165
@@ -161,6 +181,18 @@ Both deployment methods include complete RAG system core services:
161
181
162
182
The ETL module is responsible for data collection, processing, and vectorization, and is an important component of the complete RAG system. It needs to be deployed separately after core services are started:
Through the above steps, you can successfully deploy the GC-QA-RAG system. One-click deployment is recommended as it's simple, quick, and fully configured.
611
+
Through the above steps, you can successfully deploy the GC-QA-RAG system. Docker Hub image deployment is recommended as it's simple, quick, and fully configured.
0 commit comments