Skip to content

Commit 212e9c2

Browse files
committed
Cila: note v1.1.3 update auto-rebuild in Rebuild section (README + www docs)
openapi.json refreshed for the new version.
1 parent 334428c commit 212e9c2

5 files changed

Lines changed: 27 additions & 5 deletions

File tree

README.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -239,7 +239,7 @@ Terazi requires a base subnet to create the IP pool. The default is `10.8.0.0/24
239239
240240
The daemon and auth-service source code is mounted read-only into containers (`phantom_daemon:/app/phantom_daemon:ro`, `services/auth-service:/app/auth-service:ro`). Dockerfiles provide only system dependencies (Python, runtime packages) — application code is not baked into the image. This enables:
241241
242-
- **Fast updates**: `git pull` + `restart` is sufficient, no image rebuild required
242+
- **Fast updates**: `git pull` + `restart` is sufficient, no image rebuild required for code changes
243243
- **Fast rollback**: `git checkout <previous-version>` + `restart` for immediate rollback
244244
- **Build independence**: Code changes do not trigger a container build cycle
245245
@@ -266,6 +266,9 @@ When system dependencies change (Dockerfile, requirements.txt), an image rebuild
266266
./tools/prod.sh up
267267
```
268268
269+
> [!NOTE]
270+
> From **v1.1.3** onward, `./tools/prod.sh update` detects `Dockerfile` and `requirements.txt` changes automatically and rebuilds the affected service (`build` + `up`) — a manual rebuild is normally unnecessary. Run the command above only as a one-time step when upgrading **from v1.1.2 or earlier**, whose update logic predates this auto-detection.
271+
269272
#### Let's Encrypt (Optional)
270273
271274
The default self-signed certificate can be replaced with a Let's Encrypt certificate. Uses HTTP-01 standalone challenge — the domain must have an A record pointing to the server and port 80 must be available.

README_TR.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -240,7 +240,7 @@ Terazi, IP havuzunu oluşturmak için bir base subnet'e ihtiyaç duyar. Varsayı
240240
241241
Daemon ve auth-service kaynak kodları container'lara read-only olarak mount edilir (`phantom_daemon:/app/phantom_daemon:ro`, `services/auth-service:/app/auth-service:ro`). Dockerfile'lar yalnızca sistem bağımlılıklarını (Python, runtime paketleri) sağlar — uygulama kodu image içinde değildir. Bu yapı sayesinde:
242242
243-
- **Hızlı güncelleme**: `git pull` + `restart` yeterlidir, image rebuild gerekmez
243+
- **Hızlı güncelleme**: `git pull` + `restart` yeterlidir, kod değişiklikleri için image rebuild gerekmez
244244
- **Hızlı rollback**: `git checkout <önceki-versiyon>` + `restart` ile anında geri dönüş
245245
- **Build bağımsızlığı**: Kod değişiklikleri container build sürecini tetiklemez
246246
@@ -267,6 +267,9 @@ Sistem bağımlılıkları değiştiğinde (Dockerfile, requirements.txt) image
267267
./tools/prod.sh up
268268
```
269269

270+
> [!NOTE]
271+
> **v1.1.3** ve sonrasında `./tools/prod.sh update`, `Dockerfile` ve `requirements.txt` değişikliklerini otomatik algılayıp etkilenen servisi yeniden derler (`build` + `up`) — elle rebuild normalde gerekmez. Yukarıdaki komutu yalnızca **v1.1.2 veya öncesinden** yükseltirken tek seferlik bir adım olarak çalıştırın; o sürümlerin update mantığı bu otomatik algılamadan önceye dayanır.
272+
270273
#### Let's Encrypt (Opsiyonel)
271274

272275
Varsayılan self-signed sertifika, Let's Encrypt sertifikası ile değiştirilebilir. HTTP-01 standalone challenge kullanır — domain'in A kaydı sunucuyu işaret etmeli ve 80 portu müsait olmalıdır.

www/public/openapi.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"openapi": "3.1.0",
33
"info": {
44
"title": "phantom-daemon",
5-
"version": "1.1.2"
5+
"version": "1.1.3"
66
},
77
"paths": {
88
"/api/core/backup/export": {

www/src/pages/docs/installation-update/index.en.mdx

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ Terazi requires a base subnet to create the IP pool. The default is `10.8.0.0/24
114114

115115
The daemon and auth-service source code is mounted read-only into containers (`phantom_daemon:/app/phantom_daemon:ro`, `services/auth-service:/app/auth-service:ro`). Dockerfiles provide only system dependencies (Python, runtime packages) — application code is not baked into the image. This enables:
116116

117-
- **Fast updates**: `git pull` + `restart` is sufficient, no image rebuild required
117+
- **Fast updates**: `git pull` + `restart` is sufficient, no image rebuild required for code changes
118118
- **Fast rollback**: `git checkout <previous-version>` + `restart` for immediate rollback
119119
- **Build independence**: Code changes do not trigger a container build cycle
120120

@@ -149,6 +149,14 @@ When system dependencies change (Dockerfile, requirements.txt), an image rebuild
149149
lowContrast
150150
/>
151151

152+
<InlineNotification
153+
kind="info"
154+
title="Automatic rebuild (v1.1.3+)"
155+
subtitle="From v1.1.3 onward, prod.sh update detects Dockerfile / requirements.txt changes and rebuilds the affected service automatically. The manual rebuild above is only a one-time step when upgrading from v1.1.2 or earlier, whose update logic predates this detection."
156+
hideCloseButton
157+
lowContrast
158+
/>
159+
152160
### Let's Encrypt (Optional)
153161

154162
The default self-signed certificate can be replaced with a Let's Encrypt certificate. Uses HTTP-01 standalone challenge — the domain must have an A record pointing to the server and port 80 must be available.

www/src/pages/docs/installation-update/index.mdx

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ Terazi, IP havuzunu oluşturmak için bir base subnet'e ihtiyaç duyar. Varsayı
114114

115115
Daemon ve auth-service kaynak kodları container'lara read-only olarak mount edilir (`phantom_daemon:/app/phantom_daemon:ro`, `services/auth-service:/app/auth-service:ro`). Dockerfile'lar yalnızca sistem bağımlılıklarını (Python, runtime paketleri) sağlar — uygulama kodu image içinde değildir. Bu yapı sayesinde:
116116

117-
- **Hızlı güncelleme**: `git pull` + `restart` yeterlidir, image rebuild gerekmez
117+
- **Hızlı güncelleme**: `git pull` + `restart` yeterlidir, kod değişiklikleri için image rebuild gerekmez
118118
- **Hızlı rollback**: `git checkout <önceki-versiyon>` + `restart` ile anında geri dönüş
119119
- **Build bağımsızlığı**: Kod değişiklikleri container build sürecini tetiklemez
120120

@@ -149,6 +149,14 @@ Sistem bağımlılıkları değiştiğinde (Dockerfile, requirements.txt) image
149149
lowContrast
150150
/>
151151

152+
<InlineNotification
153+
kind="info"
154+
title="Otomatik yeniden derleme (v1.1.3+)"
155+
subtitle="v1.1.3 ve sonrasında prod.sh update, Dockerfile / requirements.txt değişikliklerini algılayıp etkilenen servisi otomatik yeniden derler. Yukarıdaki elle rebuild yalnızca v1.1.2 veya öncesinden yükseltirken tek seferlik bir adımdır; o sürümlerin update mantığı bu algılamadan önceye dayanır."
156+
hideCloseButton
157+
lowContrast
158+
/>
159+
152160
### Let's Encrypt (Opsiyonel)
153161

154162
Varsayılan self-signed sertifika, Let's Encrypt sertifikası ile değiştirilebilir. HTTP-01 standalone challenge kullanır — domain'in A kaydı sunucuyu işaret etmeli ve 80 portu müsait olmalıdır.

0 commit comments

Comments
 (0)