Skip to content

Commit df82470

Browse files
committed
Run background jobs in the web container in prod
1 parent a869769 commit df82470

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

deploy/docker-compose.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,8 @@ services:
4040
PGUSER: ${POSTGRES_USER:-postgres}
4141
PGPASSWORD: ${POSTGRES_PASSWORD:-postgres}
4242
PGDATABASE: ${POSTGRES_DB:-hackorum}
43+
# Run Solid Queue supervisor inside Puma so background jobs (emails, etc.) get processed.
44+
SOLID_QUEUE_IN_PUMA: "1"
4345
SECRET_KEY_BASE: ${SECRET_KEY_BASE}
4446
# Mail configuration
4547
APP_HOST: ${APP_HOST}

0 commit comments

Comments
 (0)