feat: Enhance Docker setup and application status reporting with build date and container info
This commit is contained in:
@@ -14,10 +14,20 @@
|
||||
</p>
|
||||
<div class="bg-blue-100 border-l-4 border-blue-500 text-blue-700 p-4 my-4" role="alert">
|
||||
<p><strong>App Version:</strong> {{ app_version }}</p>
|
||||
<p><strong>Build Date:</strong> {{ build_date }}</p>
|
||||
<p><strong>Debug Mode:</strong> {{ "Enabled" if debug_enabled else "Disabled" }}</p>
|
||||
{% if last_check %}
|
||||
<p><strong>Last Check:</strong> {{ last_check }}</p>
|
||||
{% endif %}
|
||||
{% if container_info.is_docker %}
|
||||
<p><strong>Container ID:</strong> {{ container_info.id }}</p>
|
||||
{% endif %}
|
||||
{% if container_info.git_sha and container_info.git_sha != 'Unknown' %}
|
||||
<p><strong>Git Commit:</strong> {{ container_info.git_sha }}</p>
|
||||
{% endif %}
|
||||
{% if container_info.runtime_info %}
|
||||
<p><strong>Container Started:</strong> {{ container_info.runtime_info }}</p>
|
||||
{% endif %}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user