-
Notifications
You must be signed in to change notification settings - Fork 60
Expand file tree
/
Copy pathhass-panel.xml
More file actions
67 lines (61 loc) · 2.78 KB
/
Copy pathhass-panel.xml
File metadata and controls
67 lines (61 loc) · 2.78 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
<?xml version="1.0"?>
<Container version="2">
<Name>hass-panel</Name>
<Repository>ghcr.io/mrtian2016/hass-panel</Repository>
<Registry>https://github.com/mrtian2016/hass-panel/pkgs/container/hass-panel</Registry>
<Network>bridge</Network>
<MyIP></MyIP>
<Shell>sh</Shell>
<Privileged>false</Privileged>
<Support>https://github.com/mrtian2016/hass-panel</Support>
<Project>https://github.com/mrtian2016/hass-panel</Project>
<Overview>Home Assistant Panel - 一个用于Home Assistant的自定义面板</Overview>
<Category>HomeAutomation:</Category>
<WebUI>http://[IP]:[PORT:5123]</WebUI>
<TemplateURL>https://raw.githubusercontent.com/mrtian2016/hass-panel/master/hass-panel.xml</TemplateURL>
<Icon>https://raw.githubusercontent.com/mrtian2016/hass-panel/master/icon.png</Icon>
<Networking>
<Mode>bridge</Mode>
<Publish>
<Port>
<HostPort>5123</HostPort>
<ContainerPort>5123</ContainerPort>
<Protocol>tcp</Protocol>
</Port>
<Port>
<HostPort>5124</HostPort>
<ContainerPort>5124</ContainerPort>
<Protocol>tcp</Protocol>
</Port>
</Publish>
</Networking>
<Data>
<Volume>
<HostDir>/mnt/user/appdata/hass-panel/webdav</HostDir>
<ContainerDir>/data/webdav</ContainerDir>
<Mode>rw</Mode>
</Volume>
<Volume>
<HostDir>/mnt/user/appdata/hass-panel/media</HostDir>
<ContainerDir>/config/hass-panel/media</ContainerDir>
<Mode>rw</Mode>
</Volume>
</Data>
<Environment>
<Variable>
<Name>WEBDAV_USERNAME</Name>
<Value>admin</Value>
</Variable>
<Variable>
<Name>WEBDAV_PASSWORD</Name>
<Value>admin</Value>
</Variable>
</Environment>
<Labels/>
<Config Name="WebUI" Target="5123" Default="5123" Mode="tcp" Description="Web界面端口" Type="Port" Display="always" Required="true" Mask="false"/>
<Config Name="WebDAV" Target="5124" Default="5124" Mode="tcp" Description="WebDAV端口" Type="Port" Display="always" Required="true" Mask="false"/>
<Config Name="WebDAV用户名" Target="WEBDAV_USERNAME" Default="admin" Description="WebDAV登录用户名" Type="Variable" Display="always" Required="true" Mask="false"/>
<Config Name="WebDAV密码" Target="WEBDAV_PASSWORD" Default="admin" Description="WebDAV登录密码" Type="Variable" Display="always" Required="true" Mask="false"/>
<Config Name="WebDAV目录" Target="/data/webdav" Default="/mnt/user/appdata/hass-panel/webdav" Mode="rw" Description="WebDAV文件存储位置" Type="Path" Display="always" Required="true" Mask="false"/>
<Config Name="媒体目录" Target="/config/hass-panel/media" Default="/mnt/user/appdata/hass-panel/media" Mode="rw" Description="媒体文件存储位置" Type="Path" Display="always" Required="true" Mask="false"/>
</Container>