We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 593ecf3 + ba9a207 commit 6e71499Copy full SHA for 6e71499
1 file changed
compose.yaml
@@ -1,21 +1,18 @@
1
+name: nextjs
2
services:
3
app:
4
restart: unless-stopped
- # domainname: www.example.xyz # uncomment if you want to use your own domain
5
build:
6
context: ./app
7
dockerfile: Dockerfile
8
-
9
ports:
10
- - target: 3000
11
- mode: ingress
12
- published: 3000
13
+ - target: 3000
+ mode: ingress
+ published: 3000
14
healthcheck:
15
test: wget -q --spider http://localhost:3000/ || exit 1
16
17
deploy:
18
resources:
19
reservations:
20
- cpus: "0.25"
+ cpus: '0.25'
21
memory: 256M
0 commit comments