- Add automated Traefik version checking job running weekly on Sundays - Implement version detection from running containers and comparison with versions.json - Add notifications across all channels (Email, Discord, Slack, Telegram, Pushover, Webhook) for outdated versions - Create dismissible callout component with localStorage persistence - Display cross-branch upgrade warnings (e.g., v3.5 -> v3.6) with changelog links - Show patch update notifications within same branch - Add warning icon that appears when callouts are dismissed - Prevent duplicate notifications during proxy restart by adding restarting parameter - Fix notification spam with transition-based logic for status changes - Enable system email settings by default in development mode - Track last saved/applied proxy settings to detect configuration drift
43 lines
1.7 KiB
PHP
43 lines
1.7 KiB
PHP
<x-emails.layout>
|
|
{{ $count }} server(s) are running outdated Traefik proxy. Update recommended for security and features.
|
|
|
|
**Note:** This check is based on the actual running container version, not the configuration file.
|
|
|
|
## Affected Servers
|
|
|
|
@foreach ($servers as $server)
|
|
@php
|
|
$info = $server->outdatedInfo ?? [];
|
|
$current = $info['current'] ?? 'unknown';
|
|
$latest = $info['latest'] ?? 'unknown';
|
|
$type = ($info['type'] ?? 'patch_update') === 'patch_update' ? '(patch)' : '(upgrade)';
|
|
$hasUpgrades = $hasUpgrades ?? false;
|
|
if ($type === 'upgrade') {
|
|
$hasUpgrades = true;
|
|
}
|
|
// Add 'v' prefix for display
|
|
$current = str_starts_with($current, 'v') ? $current : "v{$current}";
|
|
$latest = str_starts_with($latest, 'v') ? $latest : "v{$latest}";
|
|
@endphp
|
|
- **{{ $server->name }}**: {{ $current }} → {{ $latest }} {{ $type }}
|
|
@endforeach
|
|
|
|
## Recommendation
|
|
|
|
It is recommended to test the new Traefik version before switching it in production environments. You can update your proxy configuration through your [Coolify Dashboard]({{ config('app.url') }}).
|
|
|
|
@if ($hasUpgrades ?? false)
|
|
**Important for major/minor upgrades:** Before upgrading to a new major or minor version, please read the [Traefik changelog](https://github.com/traefik/traefik/releases) to understand breaking changes and new features.
|
|
@endif
|
|
|
|
## Next Steps
|
|
|
|
1. Review the [Traefik release notes](https://github.com/traefik/traefik/releases) for changes
|
|
2. Test the new version in a non-production environment
|
|
3. Update your proxy configuration when ready
|
|
4. Monitor services after the update
|
|
|
|
---
|
|
|
|
You can manage your server proxy settings in your Coolify Dashboard.
|
|
</x-emails.layout>
|