Skip to content

Commit 76b302e

Browse files
add base deploy resources
1 parent 9f72571 commit 76b302e

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

samples/managed-llm-provider/compose.yaml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,11 @@ services:
1818
start_period: 5s
1919
depends_on:
2020
- llm
21+
deploy:
22+
resources:
23+
reservations:
24+
cpus: 0.25
25+
memory: 512MB
2126

2227
# Provider Service
2328
# This service is used to route requests to the LLM API
@@ -27,3 +32,8 @@ services:
2732
options:
2833
model: ai/smollm2
2934
x-defang-llm: true
35+
deploy:
36+
resources:
37+
reservations:
38+
cpus: 0.25
39+
memory: 512MB

0 commit comments

Comments
 (0)