-
Notifications
You must be signed in to change notification settings - Fork 6
/
teslamate-grafana.xml
42 lines (42 loc) · 3.01 KB
/
teslamate-grafana.xml
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
<?xml version="1.0"?>
<Container version="2">
<Name>TeslaMate-Grafana</Name>
<Repository>teslamate/grafana</Repository>
<Registry>https://hub.docker.com/r/teslamate/grafana</Registry>
<Network>bridge</Network>
<MyIP/>
<Shell>sh</Shell>
<Privileged>false</Privileged>
<Support>https://github.com/adriankumpf/teslamate/issues</Support>
<Project>https://github.com/adriankumpf/teslamate</Project>
<Overview>A custom grafana image that auto provisions the datasource and dashboards for use with the TeslaMate container.
Default user/pass is admin/admin

Note, this container will need permission to write to the /mnt/user/appdata/teslamate/grafana/ directory - please adjust permissions accordingly.
An easy way to do this is as follows...

BEFORE adding this container, run the following command on your unRAID system, just copy/paste the entire command into the unRAID web terminal.

mkdir /mnt/user/appdata/teslamate &amp;&amp; mkdir /mnt/user/appdata/teslamate/grafana &amp;&amp; chmod 0777 /mnt/user/appdata/teslamate/grafana

If you run the container w/out this command and it fails to allow creating the SQLite DB, then an easy way to allow the proper permissions after would be just to do a 
chmod 0777 /mnt/user/appdata/teslamate/grafana</Overview>
<Category>Productivity:</Category>
<WebUI>http://[IP]:[PORT:3000]</WebUI>
<TemplateURL/>
<Icon>https://raw.githubusercontent.com/CorneliousJD/Docker-Templates/master/icons/teslamate.png</Icon>
<ExtraParams/>
<PostArgs/>
<CPUset/>
<DateInstalled>1658772938</DateInstalled>
<DonateText/>
<DonateLink/>
<Requires>TeslaMate</Requires>
<Config Name="Web Interface" Target="3000" Default="3333" Mode="tcp" Description="" Type="Port" Display="always" Required="true" Mask="false">3333</Config>
<Config Name="TeslaMate Database Username" Target="DATABASE_USER" Default="teslamate" Mode="" Description="" Type="Variable" Display="always" Required="true" Mask="false">teslamate</Config>
<Config Name="TeslaMate Database Password" Target="DATABASE_PASS" Default="" Mode="" Description="" Type="Variable" Display="always" Required="true" Mask="true">password</Config>
<Config Name="TeslaMate Database Name" Target="DATABASE_NAME" Default="teslamate" Mode="" Description="" Type="Variable" Display="always" Required="true" Mask="false">teslamate</Config>
<Config Name="PostgreSQL Database Host" Target="DATABASE_HOST" Default="" Mode="" Description="" Type="Variable" Display="always" Required="true" Mask="false">10.0.0.10</Config>
<Config Name="AppData" Target="/var/lib/grafana/" Default="/mnt/user/appdata/teslamate/grafana/" Mode="rw" Description="" Type="Path" Display="always" Required="false" Mask="false">/mnt/user/appdata/teslamate/grafana/</Config>
<Config Name="GF_SERVER_ROOT_URL" Target="GF_SERVER_ROOT_URL" Default="" Mode="" Description="" Type="Variable" Display="always" Required="false" Mask="false">https://teslamate-grafana.domain.com</Config>
</Container>