File tree Expand file tree Collapse file tree 1 file changed +21
-2
lines changed Expand file tree Collapse file tree 1 file changed +21
-2
lines changed Original file line number Diff line number Diff line change @@ -46,13 +46,32 @@ Add a new queue connection to `config/queue.php`
4646],
4747```
4848
49- Finally, change the ` QUEUE_CONNECTION ` to the newly defined connection .
49+ Finally, set the correct environment variables .
5050
5151``` dotenv
5252QUEUE_CONNECTION=cloudtasks
5353```
5454
55- Now that the package is installed, the final step is to set the correct environment variables.
55+ If you're using Cloud Run:
56+
57+ ``` dotenv
58+ CLOUD_TASKS_PROJECT=my-project
59+ CLOUD_TASKS_LOCATION=europe-west6
60+ CLOUD_TASKS_QUEUE=barbequeue
61+ CLOUD_TASKS_SERVICE_EMAIL=my-service-account@appspot.gserviceaccount.com
62+ # Optionally (when using a separate task handler):
63+ CLOUD_TASKS_SERVICE_HANDLER=
64+ ```
65+
66+ If you're using App Engine:
67+
68+ ``` dotenv
69+ CLOUD_TASKS_PROJECT=my-project
70+ CLOUD_TASKS_LOCATION=europe-west6
71+ CLOUD_TASKS_QUEUE=barbequeue
72+ APP_ENGINE_TASK=true
73+ APP_ENGINE_SERVICE=my-service
74+ ```
5675
5776Please check the table below on what the values mean and what their value should be.
5877
You can’t perform that action at this time.
0 commit comments