Skip to content

Commit

Permalink
Adds sidekiq worker service to govuk-chat
Browse files Browse the repository at this point in the history
  • Loading branch information
Alex Avlonitis committed Mar 11, 2024
1 parent 0d10e35 commit 4154d9e
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions projects/govuk-chat/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,12 +30,24 @@ services:
govuk-chat-app:
<<: *govuk-chat
depends_on:
- govuk-chat-worker
- nginx-proxy
- postgres-13
environment:
DATABASE_URL: "postgresql://postgres@postgres-13/govuk-chat"
REDIS_URL: redis://redis
VIRTUAL_HOST: govuk-chat.dev.gov.uk
BINDING: 0.0.0.0
expose:
- "3000"
command: bin/dev

govuk-chat-worker:
<<: *govuk-chat
depends_on:
- redis
- postgres-13
environment:
REDIS_URL: redis://redis
DATABASE_URL: "postgresql://postgres@postgres-13/govuk-chat"
command: bundle exec sidekiq -C ./config/sidekiq.yml

0 comments on commit 4154d9e

Please sign in to comment.