Skip to content

Commit c36c28d

Browse files
authored
Merge pull request #54 from MacPaw/develop
Update ReadMe
2 parents 18d7d84 + 9252b17 commit c36c28d

File tree

2 files changed

+9
-1
lines changed

2 files changed

+9
-1
lines changed

README.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -150,6 +150,12 @@ ping:
150150
151151
```
152152

153+
How To Use Healthcheck In Docker
154+
----------------------------------
155+
```dockerfile
156+
HEALTHCHECK --start-period=15s --interval=5s --timeout=3s --retries=3 CMD curl -sS {{your host}}/health || exit 1
157+
```
158+
153159
[master Build Status]: https://github.com/macpaw/symfony-health-check-bundle/actions?query=workflow%3ACI+branch%3Amaster
154160
[master Build Status Image]: https://github.com/macpaw/symfony-health-check-bundle/workflows/CI/badge.svg?branch=master
155161
[develop Build Status]: https://github.com/macpaw/symfony-health-check-bundle/actions?query=workflow%3ACI+branch%3Adevelop

UPGRADE-1.0.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,4 +113,6 @@ class StatusUpCheck implements CheckInterface
113113
}
114114
```
115115
116-
116+
Step 4: Remove Custom Error library
117+
----------------------------------
118+
Remove custom error in handler https://github.com/MacPaw/symfony-health-check-bundle/tree/v0.8.0/src/Exception

0 commit comments

Comments
 (0)