mirror of
https://github.com/bunkerity/bunkerized-nginx
synced 2023-12-13 21:30:18 +01:00
2.7 KiB
2.7 KiB
{% extends "base.html" %}
{% block content %}
{% if operation != "" %}
{% endif %}
{{ operation }}
{% for instance in instances %}
{% set color = "dark" %}
{% if instance["status"] == "running" %}
{% set color = "success" %}
{% elif instance["status"] == "created" or instance["status"] == "restarting" or instance["status"] == "paused" %}
{% set color = "warning" %}
{% elif instance["status"] == "exited" or instance["status"] == "dead" %}
{% set color = "danger" %}
{% endif %}
{% set envfilter = ["PATH", "NGINX_VERSION", "NJS_VERSION", "PKG_RELEASE"] %} {% for env in instance.attrs["Config"]["Env"] %} {% if not env.startswith("PATH=") and not env.startswith("NGINX_VERSION=") and not env.startswith("NJS_VERSION=") and not env.startswith("PKG_RELEASE=") %} {{ env }}
{% endif %} {% endfor %}
{% endfor %}
{% endblock %}
Status : {{ instance["status"] }}
Environment variables :{% set envfilter = ["PATH", "NGINX_VERSION", "NJS_VERSION", "PKG_RELEASE"] %} {% for env in instance.attrs["Config"]["Env"] %} {% if not env.startswith("PATH=") and not env.startswith("NGINX_VERSION=") and not env.startswith("NJS_VERSION=") and not env.startswith("PKG_RELEASE=") %} {{ env }}
{% endif %} {% endfor %}