Skip to content

Commit fe75b0c

Browse files
Merge pull request #593 from DefangLabs/jordan/compose-project-names
add project names and deploy resources to all samples
2 parents d3e3d45 + dfce060 commit fe75b0c

1 file changed

Lines changed: 8 additions & 3 deletions

File tree

compose.yaml

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,20 @@
1+
name: python-minimal
12
services:
23
app:
34
restart: unless-stopped
45
build:
56
context: ./app
67
dockerfile: Dockerfile
78
ports:
8-
- mode: ingress
9-
target: 5000
9+
- mode: ingress
10+
target: 5000
1011
deploy:
1112
resources:
1213
reservations:
1314
memory: 256M
1415
healthcheck:
15-
test: ["CMD", "curl", "-f", "http://localhost:5000/"]
16+
test:
17+
- CMD
18+
- curl
19+
- -f
20+
- http://localhost:5000/

0 commit comments

Comments
 (0)