{% extends "base.html" %} {% block title %}{{ app.name }} - Painel de Deploy & Gestão{% endblock %} {% block header_title %}{{ app.name }}{% endblock %} {% block header_actions %} Voltar ao Servidor {% endblock %} {% block content %}
| Release | Versão & Hash SHA-256 | Data do Deploy | Status | Ações Coerentes |
|---|---|---|---|---|
| Release #{{ dep.release_number or loop.revindex }} {% if dep.is_active == 1 or (loop.first and dep.status == 'success' and not app.deployments|selectattr('is_active', 'equalto', 1)|list) %} ATUAL {% endif %} |
{{ dep.version }}
{% if dep.sha256_hash %}
SHA-256:
{% endif %}
{{ dep.sha256_hash[:12] }}...{{ dep.description or 'Sem descrição' }}
|
{{ dep.deployed_at }} | {% if dep.status == 'success' %} Sucesso ({{ dep.duration_seconds }}s) {% else %} Falhou {% endif %} |
{% if dep.diagnostic %}
{% endif %}
{% if dep.stored_zip_path %}
BAIXAR ZIP
{% endif %}
{% if dep.status == 'success' and not (dep.is_active == 1) %}
{% elif dep.status == 'failed' %}
{% endif %}
|
| Nenhuma release registrada ainda. Envie um arquivo ZIP para realizar o primeiro deploy automatizado! | ||||
{{ app.path }}| Nome do Item | Tamanho | Modificado em | Permissão | Ações |
|---|---|---|---|---|
| Carregando arquivos do VPS via SSH... | ||||
| Nome do Snapshot / Dump | Tipo | Tamanho | Data de Criação | Status |
|---|---|---|---|---|
| {{ b.file_name }} | {{ b.backup_type|upper }} | {{ b.file_size_mb }} MB | {{ b.created_at }} | Salvo |
| Nenhum snapshot ou dump gerado recentemente. | ||||
{{ app.path }}/venv/bin/gunicorn --bind 0.0.0.0:{{ app.internal_port }} --workers 3 --timeout 600 {{ (app.entrypoint_file or 'app.py').split('.')[0] }}:{{ app.entrypoint_object or 'app' }}
O DeployHub pode verificar os arquivos do seu projeto (.env, requirements.txt, config.py) para identificar a presença de PostgreSQL ou MySQL automaticamente.
Esta ação remove a aplicação do painel e pode desinstalar completamente o serviço do VPS.