Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 2c5c50a

Browse files
Update README.md
1 parent f77d7e3 commit 2c5c50a

File tree

1 file changed

+21
-2
lines changed

1 file changed

+21
-2
lines changed

‎README.md

Lines changed: 21 additions & 2 deletions
Original file line numberDiff line numberDiff 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
5252
QUEUE_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

5776
Please check the table below on what the values mean and what their value should be.
5877

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /