fix: Gitea Traefik routing and connection pool optimization
Some checks failed
🚀 Build & Deploy Image / Determine Build Necessity (push) Failing after 10m14s
🚀 Build & Deploy Image / Build Runtime Base Image (push) Has been skipped
🚀 Build & Deploy Image / Build Docker Image (push) Has been skipped
🚀 Build & Deploy Image / Run Tests & Quality Checks (push) Has been skipped
🚀 Build & Deploy Image / Auto-deploy to Staging (push) Has been skipped
🚀 Build & Deploy Image / Auto-deploy to Production (push) Has been skipped
Security Vulnerability Scan / Check for Dependency Changes (push) Failing after 11m25s
Security Vulnerability Scan / Composer Security Audit (push) Has been cancelled
Some checks failed
🚀 Build & Deploy Image / Determine Build Necessity (push) Failing after 10m14s
🚀 Build & Deploy Image / Build Runtime Base Image (push) Has been skipped
🚀 Build & Deploy Image / Build Docker Image (push) Has been skipped
🚀 Build & Deploy Image / Run Tests & Quality Checks (push) Has been skipped
🚀 Build & Deploy Image / Auto-deploy to Staging (push) Has been skipped
🚀 Build & Deploy Image / Auto-deploy to Production (push) Has been skipped
Security Vulnerability Scan / Check for Dependency Changes (push) Failing after 11m25s
Security Vulnerability Scan / Composer Security Audit (push) Has been cancelled
- Remove middleware reference from Gitea Traefik labels (caused routing issues) - Optimize Gitea connection pool settings (MAX_IDLE_CONNS=30, authentication_timeout=180s) - Add explicit service reference in Traefik labels - Fix intermittent 504 timeouts by improving PostgreSQL connection handling Fixes Gitea unreachability via git.michaelschiemer.de
This commit is contained in:
@@ -1,47 +1,39 @@
|
||||
<layout name="admin" />
|
||||
|
||||
<div class="section">
|
||||
<h2>{{ title }}</h2>
|
||||
<h2>{{$title}}</h2>
|
||||
|
||||
<div class="admin-card">
|
||||
<div class="admin-card__header">
|
||||
<h3 class="admin-card__title">Existing Image Slots</h3>
|
||||
</div>
|
||||
<div class="admin-card__content">
|
||||
<if condition="slots">
|
||||
<div class="admin-table-wrapper">
|
||||
<table class="admin-table">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>Slot Name</th>
|
||||
<th>Current Image</th>
|
||||
<th>Actions</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<for var="slot" in="slots">
|
||||
<tr>
|
||||
<td>{{ slot.slotName }}</td>
|
||||
<td>
|
||||
<if condition="slot.image">
|
||||
{{ slot.image.filename }}
|
||||
<else/>
|
||||
<span style="color: var(--muted);">No image assigned</span>
|
||||
</if>
|
||||
</td>
|
||||
<td class="admin-table__actions">
|
||||
<form action="/admin/content/image-slots/{{ slot.slotName }}" method="post" style="display: inline;">
|
||||
<button type="submit" class="admin-table__action">Edit</button>
|
||||
</form>
|
||||
</td>
|
||||
</tr>
|
||||
</for>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
<else/>
|
||||
<p style="color: var(--muted); text-align: center; padding: var(--space-lg);">No image slots created yet.</p>
|
||||
</if>
|
||||
<div class="admin-table-wrapper" if="{{$slots}}">
|
||||
<table class="admin-table">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>Slot Name</th>
|
||||
<th>Current Image</th>
|
||||
<th>Actions</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<tr foreach="$slots as $slot">
|
||||
<td>{{$slot->slotName}}</td>
|
||||
<td>
|
||||
<span if="{{$slot->image}}">{{$slot->image->filename}}</span>
|
||||
<span style="color: var(--muted);" if="{{!$slot->image}}">No image assigned</span>
|
||||
</td>
|
||||
<td class="admin-table__actions">
|
||||
<form action="/admin/content/image-slots/{{$slot->slotName}}" method="post" style="display: inline;">
|
||||
<button type="submit" class="admin-table__action">Edit</button>
|
||||
</form>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
<p style="color: var(--muted); text-align: center; padding: var(--space-lg);" if="{{!$slots}}">No image slots created yet.</p>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user