mirror of
https://github.com/AlbrechtL/openwrt-docker.git
synced 2026-10-14 16:01:29 +00:00
Add option to get container infos in web UI
This commit is contained in:
+2
-1
@@ -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"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user