mirror of
https://github.com/Monadical-SAS/reflector.git
synced 2025-12-20 12:19:06 +00:00
server: add healthcheck for worker
This commit is contained in:
14
README.md
14
README.md
@@ -133,17 +133,25 @@ TRANSLATE_URL=https://monadical-sas--reflector-translator-web.modal.run
|
||||
ZEPHYR_LLM_URL=https://monadical-sas--reflector-llm-zephyr-web.modal.run
|
||||
```
|
||||
|
||||
### Start the project
|
||||
### Start the API/Backend
|
||||
|
||||
Use:
|
||||
Start the API server:
|
||||
|
||||
```bash
|
||||
poetry run python3 -m reflector.app
|
||||
```
|
||||
|
||||
And start the background worker
|
||||
Start the background worker:
|
||||
|
||||
```bash
|
||||
celery -A reflector.worker.app worker --loglevel=info
|
||||
```
|
||||
|
||||
For crontab (only healthcheck for now), start the celery beat:
|
||||
|
||||
```bash
|
||||
celery -A reflector.worker.app beat
|
||||
```
|
||||
|
||||
#### Using docker
|
||||
|
||||
|
||||
Reference in New Issue
Block a user