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

Commit

Permalink
This whole time the base env var set was *, so if we set the env var …
Browse files Browse the repository at this point in the history
…in the docker-compose file to build with the image... testing
  • Loading branch information
aprilrieger committed Feb 20, 2024
1 parent c2be59e commit 1517b77
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
2 changes: 1 addition & 1 deletion bin/worker
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,4 @@ else
puts 'DATABASE_URL not set, no pool change needed'
end

exec "echo $DATABASE_URL && echo ${GOOD_JOB_QUEUES:--auxiliary} && bundle exec good_job start"
exec "echo $DATABASE_URL && bundle exec good_job start"
2 changes: 2 additions & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -219,6 +219,8 @@ services:

worker:
<<: *app-worker
environment:
- GOOD_JOB_QUEUES=-auxiliary
################################################################################
## Note on commands: by default the commands don't run bundle. That is to
## reduce boot times. However, when the application is in active
Expand Down
6 changes: 3 additions & 3 deletions ops/dev-deploy.tmpl.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -245,9 +245,9 @@ workerAuxiliary:
fsGroupChangePolicy: "OnRootMismatch"
extraVolumeMounts: *volMounts
extraEnvVars: *envVars
extraDeployEnvVars:
- name: GOOD_JOB_QUEUES
value: "*"
# extraDeployEnvVars:
# - name: GOOD_JOB_QUEUES
# value: "*"

extraDeploy:
- |-
Expand Down

0 comments on commit 1517b77

Please sign in to comment.