feat: status page + maintenance
This commit is contained in:
parent
614c16750d
commit
1819826151
@ -16,4 +16,4 @@ for container in client.containers.list():
|
|||||||
cont["name"] = container.name
|
cont["name"] = container.name
|
||||||
cont["status"] = container.status
|
cont["status"] = container.status
|
||||||
cont["log"] = container.logs().decode('utf-8').replace('\n', '<br>')
|
cont["log"] = container.logs().decode('utf-8').replace('\n', '<br>')
|
||||||
print(template.render(containers=[container]))
|
print(template.render(containers=[cont]))
|
||||||
|
Loading…
Reference in New Issue
Block a user