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:
33
src/Application/Admin/templates/database/browser.view.php
Normal file
33
src/Application/Admin/templates/database/browser.view.php
Normal file
@@ -0,0 +1,33 @@
|
||||
<layout name="admin" />
|
||||
|
||||
<div class="admin-page">
|
||||
<div class="page-header">
|
||||
<h1>{{ $title }}</h1>
|
||||
</div>
|
||||
|
||||
<div class="stats-grid">
|
||||
<div class="stat-card">
|
||||
<h3>Database Information</h3>
|
||||
<p><strong>Name:</strong> {{$database['name']}}</p>
|
||||
<p if="{{$database['charset']}}"><strong>Charset:</strong> {{$database['charset']}}</p>
|
||||
<p if="{{$database['collation']}}"><strong>Collation:</strong> {{$database['collation']}}</p>
|
||||
<p><strong>Total Tables:</strong> {{$table_count}}</p>
|
||||
<p if="{{$database['size_mb']}}"><strong>Total Size:</strong> {{number_format($database['size_mb'], 2)}} MB</p>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="admin-card">
|
||||
<h2>Tables</h2>
|
||||
<div class="table-container">
|
||||
{{$table}}
|
||||
</div>
|
||||
|
||||
<div class="pagination-info" if="{{$pagination}}">
|
||||
<p>
|
||||
Showing page {{$pagination['current_page']}} of {{$pagination['total_pages']}}
|
||||
({{$pagination['total_items']}} total tables)
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -0,0 +1,49 @@
|
||||
<layout name="admin" />
|
||||
|
||||
<div class="admin-page">
|
||||
<div class="page-header">
|
||||
<h1>{{ $title }}</h1>
|
||||
<div class="page-actions">
|
||||
<a href="/admin/database" class="btn btn-secondary">Back to Database</a>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="alert alert-error" if="{{$error}}">
|
||||
{{$error}}
|
||||
</div>
|
||||
|
||||
<div if="{{$table}}">
|
||||
<div class="stats-grid">
|
||||
<div class="stat-card">
|
||||
<h3>Table Information</h3>
|
||||
<p><strong>Name:</strong> {{$table['name']}}</p>
|
||||
<p if="{{$table['row_count']}}"><strong>Rows:</strong> {{number_format($table['row_count'])}}</p>
|
||||
<p if="{{$table['size_mb']}}"><strong>Size:</strong> {{number_format($table['size_mb'], 2)}} MB</p>
|
||||
<p if="{{$table['engine']}}"><strong>Engine:</strong> {{$table['engine']}}</p>
|
||||
<p if="{{$table['collation']}}"><strong>Collation:</strong> {{$table['collation']}}</p>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="admin-card">
|
||||
<h2>Columns</h2>
|
||||
<div class="table-container">
|
||||
{{$columns_table}}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="admin-card" if="{{$has_indexes}}">
|
||||
<h2>Indexes</h2>
|
||||
<div class="table-container">
|
||||
{{$indexes_table}}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="admin-card" if="{{$has_foreign_keys}}">
|
||||
<h2>Foreign Keys</h2>
|
||||
<div class="table-container">
|
||||
{{$foreign_keys_table}}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user