Skip to content

Commit

Permalink
Update queue configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
papac committed Sep 22, 2023
1 parent 20dd483 commit 46403ff
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 9 deletions.
6 changes: 3 additions & 3 deletions .env.example.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,9 @@
"SESSION_SECURE": false,
"SESSION_HTTPONLY": true,

"S3_KEY": "",
"S3_SECRET": "",
"S3_REGION": "us-east-1",
"AWS_KEY": "",
"AWS_SECRET": "",
"AWS_REGION": "us-east-1",
"S3_BUCKET": "buckets",

"FTP_HOSTNAME": "localhost",
Expand Down
17 changes: 14 additions & 3 deletions config/worker.php → config/queue.php
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,20 @@
* The sqs connexion
*/
"sqs" => [
"hostname" => "127.0.0.0",
"port" => 11300,
"timeout" => 10,
"url" => app_env("SQS_URL"),
'region' => app_env('AWS_REGION'),
'version' => 'latest',
'credentials' => [
'key' => app_env('AWS_KEY'),
'secret' => app_env('AWS_SECRET'),
],
],

/**
* The database connexion
*/
"database" => [
"table" => "queues",
]
]
];
6 changes: 3 additions & 3 deletions config/storage.php
Original file line number Diff line number Diff line change
Expand Up @@ -44,11 +44,11 @@
's3' => [
'driver' => 's3',
'bucket' => app_env('S3_BUCKET', 'settlements'),
'region' => app_env('S3_REGION'),
'region' => app_env('AWS_REGION'),
'version' => 'latest',
'credentials' => [
'key' => app_env('S3_KEY'),
'secret' => app_env('S3_SECRET'),
'key' => app_env('AWS_KEY'),
'secret' => app_env('AWS_SECRET'),
],
]
],
Expand Down

0 comments on commit 46403ff

Please sign in to comment.