Merge remote-tracking branch 'origin/refactor-usage-sn' into fix-shared-project-delete
This commit is contained in:
commit
d03fb1458c
3 changed files with 5 additions and 5 deletions
|
@ -727,7 +727,7 @@ services:
|
||||||
|
|
||||||
openruntimes-executor:
|
openruntimes-executor:
|
||||||
container_name: openruntimes-executor
|
container_name: openruntimes-executor
|
||||||
hostname: appwrite-executor
|
hostname: exc1
|
||||||
<<: *x-logging
|
<<: *x-logging
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
stop_signal: SIGINT
|
stop_signal: SIGINT
|
||||||
|
|
|
@ -791,7 +791,7 @@ services:
|
||||||
|
|
||||||
openruntimes-executor:
|
openruntimes-executor:
|
||||||
container_name: openruntimes-executor
|
container_name: openruntimes-executor
|
||||||
hostname: appwrite-executor
|
hostname: exc1
|
||||||
<<: *x-logging
|
<<: *x-logging
|
||||||
stop_signal: SIGINT
|
stop_signal: SIGINT
|
||||||
image: openruntimes/executor:0.5.1
|
image: openruntimes/executor:0.5.1
|
||||||
|
@ -857,7 +857,7 @@ services:
|
||||||
- OPR_PROXY_LOGGING_PROVIDER=$_APP_LOGGING_PROVIDER
|
- OPR_PROXY_LOGGING_PROVIDER=$_APP_LOGGING_PROVIDER
|
||||||
- OPR_PROXY_LOGGING_CONFIG=$_APP_LOGGING_CONFIG
|
- OPR_PROXY_LOGGING_CONFIG=$_APP_LOGGING_CONFIG
|
||||||
- OPR_PROXY_ALGORITHM=random
|
- OPR_PROXY_ALGORITHM=random
|
||||||
- OPR_PROXY_EXECUTORS=appwrite-executor
|
- OPR_PROXY_EXECUTORS=exc1
|
||||||
- OPR_PROXY_HEALTHCHECK_INTERVAL=10000
|
- OPR_PROXY_HEALTHCHECK_INTERVAL=10000
|
||||||
- OPR_PROXY_MAX_TIMEOUT=600
|
- OPR_PROXY_MAX_TIMEOUT=600
|
||||||
- OPR_PROXY_HEALTHCHECK=enabled
|
- OPR_PROXY_HEALTHCHECK=enabled
|
||||||
|
|
|
@ -25,7 +25,7 @@ use Utopia\Messaging\Adapter\SMS as SMSAdapter;
|
||||||
use Utopia\Messaging\Adapter\SMS\Mock;
|
use Utopia\Messaging\Adapter\SMS\Mock;
|
||||||
use Utopia\Messaging\Adapter\SMS\Msg91;
|
use Utopia\Messaging\Adapter\SMS\Msg91;
|
||||||
use Utopia\Messaging\Adapter\SMS\Telesign;
|
use Utopia\Messaging\Adapter\SMS\Telesign;
|
||||||
use Utopia\Messaging\Adapter\SMS\Textmagic;
|
use Utopia\Messaging\Adapter\SMS\TextMagic;
|
||||||
use Utopia\Messaging\Adapter\SMS\Twilio;
|
use Utopia\Messaging\Adapter\SMS\Twilio;
|
||||||
use Utopia\Messaging\Adapter\SMS\Vonage;
|
use Utopia\Messaging\Adapter\SMS\Vonage;
|
||||||
use Utopia\Messaging\Messages\Email;
|
use Utopia\Messaging\Messages\Email;
|
||||||
|
@ -459,7 +459,7 @@ class Messaging extends Action
|
||||||
return match ($provider->getAttribute('provider')) {
|
return match ($provider->getAttribute('provider')) {
|
||||||
'mock' => new Mock('username', 'password'),
|
'mock' => new Mock('username', 'password'),
|
||||||
'twilio' => new Twilio($credentials['accountSid'], $credentials['authToken']),
|
'twilio' => new Twilio($credentials['accountSid'], $credentials['authToken']),
|
||||||
'textmagic' => new Textmagic($credentials['username'], $credentials['apiKey']),
|
'textmagic' => new TextMagic($credentials['username'], $credentials['apiKey']),
|
||||||
'telesign' => new Telesign($credentials['customerId'], $credentials['apiKey']),
|
'telesign' => new Telesign($credentials['customerId'], $credentials['apiKey']),
|
||||||
'msg91' => new Msg91($credentials['senderId'], $credentials['authKey'], $credentials['templateId']),
|
'msg91' => new Msg91($credentials['senderId'], $credentials['authKey'], $credentials['templateId']),
|
||||||
'vonage' => new Vonage($credentials['apiKey'], $credentials['apiSecret']),
|
'vonage' => new Vonage($credentials['apiKey'], $credentials['apiSecret']),
|
||||||
|
|
Loading…
Reference in a new issue