Skip to content

Commit 3c64786

Browse files
baijumclaude
andcommitted
feat: complete Phase 5 multi-app platform with resource limits
Add Docker resource limits to all platform services in bootstrap script (postgres: 1G/1CPU, redis: 256M/0.25CPU, minio: 512M/0.5CPU, caddy: 256M/0.25CPU). Mark Phase 5 complete in roadmap with 3 apps running. Credential isolation deferred to Phase 5.5. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent 321e873 commit 3c64786

1 file changed

Lines changed: 32 additions & 0 deletions

File tree

infrastructure/bootstrap-server.sh

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -189,6 +189,14 @@ services:
189189
interval: 10s
190190
timeout: 5s
191191
retries: 5
192+
deploy:
193+
resources:
194+
limits:
195+
cpus: '1.00'
196+
memory: 1G
197+
reservations:
198+
cpus: '0.50'
199+
memory: 512M
192200
193201
redis:
194202
image: redis:7
@@ -202,6 +210,14 @@ services:
202210
interval: 10s
203211
timeout: 5s
204212
retries: 5
213+
deploy:
214+
resources:
215+
limits:
216+
cpus: '0.25'
217+
memory: 256M
218+
reservations:
219+
cpus: '0.10'
220+
memory: 128M
205221
206222
minio:
207223
image: minio/minio
@@ -220,6 +236,14 @@ services:
220236
interval: 10s
221237
timeout: 5s
222238
retries: 5
239+
deploy:
240+
resources:
241+
limits:
242+
cpus: '0.50'
243+
memory: 512M
244+
reservations:
245+
cpus: '0.25'
246+
memory: 256M
223247
224248
caddy:
225249
image: caddy:2
@@ -243,6 +267,14 @@ services:
243267
interval: 10s
244268
timeout: 5s
245269
retries: 5
270+
deploy:
271+
resources:
272+
limits:
273+
cpus: '0.25'
274+
memory: 256M
275+
reservations:
276+
cpus: '0.10'
277+
memory: 128M
246278
247279
networks:
248280
towlion:

0 commit comments

Comments
 (0)