Skip to content

Commit 1c4aab9

Browse files
Merge pull request #256 from DefangLabs/jordan/samples-loadtest
run loadtest for changed samples
2 parents 32fdd41 + a3cede6 commit 1c4aab9

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

compose.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ services:
1313
memory: 8192M
1414
devices:
1515
- capabilities: ["gpu"]
16+
count: 1
1617
healthcheck:
1718
test: ["CMD", "python3", "-c", "import sys, urllib.request;urllib.request.urlopen(sys.argv[1]).read()", "http://localhost:8000/health"]
1819
interval: 1m
@@ -26,6 +27,7 @@ services:
2627
ports:
2728
- mode: ingress
2829
target: 3000
30+
published: 3000
2931
deploy:
3032
resources:
3133
reservations:

0 commit comments

Comments
 (0)