Skip to content

Queue Worker Doesn't Work In Two Containers #225

Answered by kresnasatya
kresnasatya asked this question in Q&A
Discussion options

You must be logged in to vote

The jobs records saved in app container and doesn't share record with queue container. Hmm, I think it's because of the database I'm using is sqlite instead of MySQL or Redis. I will try it later. Here's the gif.

Update: I'm using MySQL as DATABASE_CONNECTION and Redis as QUEUE_CONNECTION. Now, it works! I don't use SQLite because the database doesn't share connection or data between two containers.

Replies: 1 comment 7 replies

Comment options

You must be logged in to vote
7 replies
@minkbear
Comment options

@kresnasatya
Comment options

@minkbear
Comment options

@kresnasatya
Comment options

Answer selected by kresnasatya
@minkbear
Comment options

@kresnasatya
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants