You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Sleep for 5 seconds on update to ensure queue has finished restarting and that supervisord has actually stopped
* Use correct user to start workers -- don't use sudo in command and instead specify webapp user
* Make queue option optional based on queue_driver (beanstalk or no)
* Supply environment variables via supervisord for a cleaner experience
* Pass vars to program building method to the environment parameter as key-value IE KEY1="value1"
* Quote values if they are not alphanumeric
* Remove step in deploy script to copy env vars to .env file
Copy file name to clipboardExpand all lines: README.md
+7-6Lines changed: 7 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -62,17 +62,17 @@ IS_WORKER = true
62
62
63
63
### Set Queue Driver
64
64
65
-
Set the [driver](https://laravel.com/docs/5.1/queues#introduction) in your your EB envronmental variables:
65
+
Set the [driver](https://laravel.com/docs/5.1/queues#introduction) in your your EB environmental variables:
66
66
67
67
```
68
68
QUEUE_DRIVER = [driver]
69
69
```
70
70
71
-
**Note: If no `QUEUE_DRIVER` key is present in your EB envronmental variables then `beanstalkd` will be used.**
71
+
**Note: If no `QUEUE_DRIVER` key is present in your EB environmental variables then `beanstalkd` will be used.**
72
72
73
73
### Add Queues
74
74
75
-
All queues are configured using EB envronmental variables with the following syntax:
75
+
All queues are configured using EB environmental variables with the following syntax:
76
76
77
77
**Note**: brackets are placeholders only, do not use them in your actual configuration
78
78
@@ -131,17 +131,19 @@ Supervisor requires port 9001 to be open if you want to access its web monitor.
131
131
132
132
`parseConfig.php` looks for either a user-supplied `supervisord.conf` file specified in configuration. If one exists then it is used.
133
133
134
-
Otherwise `parseConfig.php` looks for a json file generated earlier that contains all of the environmental variables configured for elastic beanstalk. It then parses out any queue configurations found (see `Add Queues`) section above and generates a supervisor program for each. The program to be generated looks like this:
134
+
Otherwise `parseConfig.php` looks for a json file generated earlier that contains all of the environmental variables configured for elastic beanstalk. It then parses out any queue configurations found (see `Add Queues`) section above and generates a supervisor program for each as well as supplying each program with all the environmental variables set for EB. The program to be generated looks like this:
0 commit comments