Skip to content

Commit 25b703a

Browse files
committed
asdf
1 parent 64eaec5 commit 25b703a

File tree

3 files changed

+9
-5
lines changed

3 files changed

+9
-5
lines changed

samples/platformatic/app/platformatic.json

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,7 @@
55
"hotReload": true,
66
"autoload": {
77
"path": "services",
8-
"exclude": [
9-
"docs"
10-
]
8+
"exclude": ["docs"]
119
},
1210
"server": {
1311
"hostname": "{PLT_SERVER_HOSTNAME}",
@@ -17,4 +15,4 @@
1715
}
1816
},
1917
"managementApi": "{PLT_MANAGEMENT_API}"
20-
}
18+
}

samples/platformatic/app/services/app/platformatic.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,4 +15,4 @@
1515
],
1616
"typescript": "{PLT_APP_TYPESCRIPT}"
1717
}
18-
}
18+
}

samples/platformatic/compose.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,12 @@ services:
99
published: 3042
1010
protocol: tcp
1111
mode: ingress
12+
healthcheck:
13+
test: ["CMD", "curl", "-f", "http://localhost:3042/"]
14+
interval: 60s
15+
timeout: 10s
16+
retries: 3
17+
start_period: 120s # Increased start period
1218
deploy:
1319
resources:
1420
limits:

0 commit comments

Comments
 (0)