Add option to get container infos in web UI

This commit is contained in:
Albrecht Lohofener
2024-03-21 21:38:32 +01:00
parent 198e350494
commit 2a00a3a10d
2 changed files with 8 additions and 1 deletions
+2 -1
View File
@@ -82,6 +82,7 @@ EXPOSE 8006
EXPOSE 8000
EXPOSE 8022
RUN echo "$VERSION_ARG" > /run/version
RUN echo "$VERSION_ARG" > /run/version \
&& echo "CONTAINER_CREATE_DATETIME=\"`date`\"" >> /var/vm/openwrt_metadata.conf
CMD ["/usr/bin/supervisord", "-c", "/etc/supervisord.conf"]
@@ -0,0 +1,6 @@
{
"name": "7 Container infos",
"description": "Get container infos",
"script_path": "cat /var/vm/openwrt_metadata.conf"
}