mirror of
https://github.com/frappe/frappe_docker.git
synced 2026-06-17 13:55:08 +00:00
docs: health check
[skip travis]
This commit is contained in:
parent
5648e3a6c4
commit
36c161d2be
1 changed files with 3 additions and 1 deletions
|
|
@ -196,8 +196,10 @@ For socketio and gunicorn service ping the hostname:port and that will be suffic
|
|||
|
||||
```shell
|
||||
docker exec -it <project-name>_erpnext-worker-d \
|
||||
docker-entrypoint.sh doctor -p postgresql-master.pgsql.svc.cluster.local:5432
|
||||
docker-entrypoint.sh doctor -p postgresql:5432 --ping-service mongodb:27017
|
||||
```
|
||||
|
||||
Additional services can be pinged as part of health check with option `-p` or `--ping-service`.
|
||||
|
||||
This check ensures that given service should be connected along with services in common_site_config.json.
|
||||
If connection to service(s) fails, the command fails with exit code 1.
|
||||
|
|
|
|||
Loading…
Reference in a new issue