Skip to content

Commit 773fb9f

Browse files
Merge pull request #593 from DefangLabs/jordan/compose-project-names
add project names and deploy resources to all samples
2 parents 164b0f1 + 7ab7f6e commit 773fb9f

1 file changed

Lines changed: 11 additions & 6 deletions

File tree

compose.yaml

Lines changed: 11 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,24 @@
1+
name: nodejs-s3
12
services:
23
app:
34
restart: unless-stopped
45
build:
56
context: ./app
67
dockerfile: Dockerfile
78
ports:
8-
- mode: ingress
9-
target: 3000
10-
published: 3000
9+
- mode: ingress
10+
target: 3000
11+
published: 3000
1112
environment:
12-
- AWS_ACCESS_KEY
13-
- AWS_SECRET_KEY
13+
- AWS_ACCESS_KEY
14+
- AWS_SECRET_KEY
1415
deploy:
1516
resources:
1617
reservations:
1718
memory: 256M
1819
healthcheck:
19-
test: ["CMD", "curl", "-f", "http://localhost:3000/"]
20+
test:
21+
- CMD
22+
- curl
23+
- -f
24+
- http://localhost:3000/

0 commit comments

Comments
 (0)