You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+14Lines changed: 14 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -60,6 +60,20 @@ Docker. Build it or check [docker-compose](https://github.com/rhee876527/chiyoga
60
60
| DATABASE_PATH | None | For local development use. Conflicts with docker volume paths. |
61
61
| DELETE_RETENTION | 90 | Number of days to keep soft-deleted pastes. Valid values: `1-99`|
62
62
63
+
#### Note about exposing /health to public
64
+
Since v1.4.3 this `healthcheck` endpoint was created to actively monitor state of application's database. It has potential for abuse WHEN exposed publicly. Caution is hereby given to protect endpoint (http://localhost:8000/health) from external access as necessary.
65
+
66
+
If using `Traefik` as reverse proxy this can be done in the `docker-compose` file by adding the following middleware:
0 commit comments