forked from coollabsio/coolify
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
c8f70a4
commit 0aa816b
Showing
42 changed files
with
568 additions
and
247 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,7 +8,9 @@ GROUPID= | |
PROJECT_PATH_ON_HOST=/Users/your-username-here/code/coollabsio/coolify | ||
SERVEO_URL=<for receiving webhooks locally https://serveo.net/> | ||
MUX_ENABLED=false | ||
# If you are using the included Buggregator | ||
[email protected] | ||
RAY_PORT=8001 | ||
############################################################################################################ | ||
|
||
APP_NAME=Coolify | ||
|
@@ -19,6 +21,10 @@ APP_DEBUG=true | |
APP_URL=http://localhost | ||
APP_PORT=8000 | ||
|
||
MAIL_MAILER=smtp | ||
MAIL_HOST=coolify-mail | ||
MAIL_PORT=1025 | ||
|
||
SESSION_DRIVER=database | ||
DUSK_DRIVER_URL=http://selenium:4444 | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
<?php | ||
|
||
namespace App\Http\Livewire\Notifications; | ||
|
||
use App\Models\Server; | ||
use App\Models\Team; | ||
use App\Notifications\TestNotification; | ||
use Livewire\Component; | ||
use Notification; | ||
|
||
class Test extends Component | ||
{ | ||
public Team|Server $model; | ||
public function sendTestNotification() | ||
{ | ||
Notification::send($this->model, new TestNotification); | ||
$this->emit('saved', 'Test notification sent.'); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
<?php | ||
|
||
namespace App\Http\Livewire\Settings; | ||
|
||
use App\Models\InstanceSettings; | ||
use Livewire\Component; | ||
|
||
class Email extends Component | ||
{ | ||
public InstanceSettings $model; | ||
|
||
protected $rules = [ | ||
'model.extra_attributes.from_address' => 'nullable', | ||
'model.extra_attributes.from_name' => 'nullable', | ||
'model.extra_attributes.recipients' => 'nullable', | ||
'model.extra_attributes.smtp_host' => 'nullable', | ||
'model.extra_attributes.smtp_port' => 'nullable', | ||
'model.extra_attributes.smtp_encryption' => 'nullable', | ||
'model.extra_attributes.smtp_username' => 'nullable', | ||
'model.extra_attributes.smtp_password' => 'nullable', | ||
'model.extra_attributes.smtp_timeout' => 'nullable', | ||
]; | ||
protected $validationAttributes = [ | ||
'model.extra_attributes.from_address' => 'From Address', | ||
'model.extra_attributes.from_name' => 'From Name', | ||
'model.extra_attributes.recipients' => 'Recipients', | ||
'model.extra_attributes.smtp_host' => 'Host', | ||
'model.extra_attributes.smtp_port' => 'Port', | ||
'model.extra_attributes.smtp_encryption' => 'Encryption', | ||
'model.extra_attributes.smtp_username' => 'Username', | ||
'model.extra_attributes.smtp_password' => 'Password', | ||
]; | ||
public function mount($model) | ||
{ | ||
// | ||
} | ||
public function render() | ||
{ | ||
return view('livewire.settings.email'); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.