Skip to content

Commit 6e71499

Browse files
Merge pull request #593 from DefangLabs/jordan/compose-project-names
add project names and deploy resources to all samples
2 parents 593ecf3 + ba9a207 commit 6e71499

1 file changed

Lines changed: 5 additions & 8 deletions

File tree

compose.yaml

Lines changed: 5 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,18 @@
1+
name: nextjs
12
services:
23
app:
34
restart: unless-stopped
4-
# domainname: www.example.xyz # uncomment if you want to use your own domain
55
build:
66
context: ./app
77
dockerfile: Dockerfile
8-
98
ports:
10-
- target: 3000
11-
mode: ingress
12-
published: 3000
13-
9+
- target: 3000
10+
mode: ingress
11+
published: 3000
1412
healthcheck:
1513
test: wget -q --spider http://localhost:3000/ || exit 1
16-
1714
deploy:
1815
resources:
1916
reservations:
20-
cpus: "0.25"
17+
cpus: '0.25'
2118
memory: 256M

0 commit comments

Comments
 (0)