Skip to content

Commit

Permalink
try adding render yaml file for background worker
Browse files Browse the repository at this point in the history
  • Loading branch information
Moggach committed Jul 4, 2024
1 parent d26c937 commit 9170803
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions render-worker.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
services:
- name: leftbookclub-worker
type: worker
env: python
plan: starter
buildCommand: "poetry install"
startCommand: "poetry run python manage.py start_worker"
numInstances: 1
concurrency:
type: fixed
min: 1
max: 2
gracefulShutdown:
signal: SIGINT
timeout: 5

0 comments on commit 9170803

Please sign in to comment.