Skip to content
This repository has been archived by the owner on Dec 17, 2024. It is now read-only.

Commit

Permalink
build: add delay before rails job worker starts
Browse files Browse the repository at this point in the history
  • Loading branch information
spwoodcock committed Sep 3, 2024
1 parent 1d28344 commit 8fae26a
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,10 @@ services:
entrypoint: /bin/sh -c
command:
- |
# First delay 30 seconds to ensure settings configured
echo "Waiting 30 seconds..."
timeout 30s
echo "Running background worker"
bundle exec rake jobs:work
Expand Down

0 comments on commit 8fae26a

Please sign in to comment.