Skip to content

Commit

Permalink
Update runner readme
Browse files Browse the repository at this point in the history
  • Loading branch information
lkeegan authored Dec 17, 2024
1 parent d789723 commit 11d1639
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion runner/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,13 +29,15 @@ with the JWT token, the location of your script folder, and other desired settin
PREDICTCR_API_URL="https://predictcr.com/api"
PREDICTCR_JWT_TOKEN="abc123"
PREDICTCR_RUNNER_SCRIPT_DIR="./script"
PREDICTCR_RUNNERS=4
PREDICTCR_RUNNER_JOBS=4
PREDICTCR_MAXPOLL_INTERVAL=60
```

With this .env file, `docker compose up -d` will start 4 runner images in the background, which will copy the files
from the `script` folder to do the processing.

To update to the latest runner docker images: `docker compose pull && docker compose up -d`

## Development

To test locally using Docker, you can directly talk to the backend service (this works because both docker-compose files use the same docker network)
Expand Down

0 comments on commit 11d1639

Please sign in to comment.