[Suggestion] Creating an unraid xml
ShiroBlank opened this issue · 1 comments
ShiroBlank commented
It would be cool if you could create a version of this docker image for unraid users so they can easily deploy it. (sorry for the blank inital submission my cat hit my enter key)
shawly commented
I could provide an UnRAID Template which you could put into your /boot/config/plugins/dockerMan/templates-user folder so you can load it via UnRAID. I can't really provide it as an app since I don't have a Repo and I don't really want to request one.
<?xml version="1.0"?>
<Container version="2">
<Name>Crafty-Controller</Name>
<Repository>shawly/crafty-web</Repository>
<Registry>https://hub.docker.com/r/shawly/crafty-web</Registry>
<Network>bridge</Network>
<MyIP/>
<Shell>sh</Shell>
<Privileged>false</Privileged>
<Support/>
<Project/>
<Overview/>
<Category>GameServers:</Category>
<WebUI>https://[HOST]:[PORT]/</WebUI>
<TemplateURL/>
<Icon>https://i.imgur.com/6rp13.png</Icon>
<ExtraParams/>
<PostArgs/>
<CPUset/>
<DateInstalled>1616008036</DateInstalled>
<DonateText/>
<DonateLink/>
<Description/>
<Networking>
<Mode>bridge</Mode>
<Publish>
<Port>
<HostPort>8000</HostPort>
<ContainerPort>8000</ContainerPort>
<Protocol>tcp</Protocol>
</Port>
<Port>
<HostPort>25565</HostPort>
<ContainerPort>25565</ContainerPort>
<Protocol>tcp</Protocol>
</Port>
</Publish>
</Networking>
<Data>
<Volume>
<HostDir>/mnt/user/appdata/crafty-web/servers</HostDir>
<ContainerDir>/minecraft_servers</ContainerDir>
<Mode>rw</Mode>
</Volume>
<Volume>
<HostDir>/mnt/user/appdata/crafty-web/db</HostDir>
<ContainerDir>/crafty_db</ContainerDir>
<Mode>rw</Mode>
</Volume>
<Volume>
<HostDir>/mnt/user/appdata/crafty-web/backups</HostDir>
<ContainerDir>/crafty_web/backups</ContainerDir>
<Mode>rw</Mode>
</Volume>
</Data>
<Environment>
<Variable>
<Value>Europe/Berlin</Value>
<Name>TZ</Name>
<Mode/>
</Variable>
</Environment>
<Labels/>
<Config Name="Timezone" Target="TZ" Default="Etc/UTC" Mode="" Description="Timezone (see here: https://en.wikipedia.org/wiki/List_of_tz_database_time_zones)" Type="Variable" Display="always-hide" Required="false" Mask="false">Europe/Berlin</Config>
<Config Name="Crafty Servers" Target="/minecraft_servers" Default="/mnt/user/appdata/crafty-web/servers" Mode="rw" Description="Container Path: /minecraft_servers&lt;br&gt; Default Host Path: /mnt/user/appdata/crafty-web/servers" Type="Path" Display="always-hide" Required="true" Mask="false">/mnt/user/appdata/crafty-web/servers</Config>
<Config Name="Crafty Database" Target="/crafty_db" Default="/mnt/user/appdata/crafty-web/db" Mode="rw" Description="Container Path: /crafty_db&lt;br&gt; Default Host Path: /mnt/user/appdata/crafty-web/db" Type="Path" Display="always-hide" Required="true" Mask="false">/mnt/user/appdata/crafty-web/db</Config>
<Config Name="Crafty Backups" Target="/crafty_web/backups" Default="/mnt/user/appdata/crafty-web/backups" Mode="rw" Description="Container Path: /crafty_web/backups&lt;br&gt; Default Host Path: /mnt/user/appdata/crafty-web/backups" Type="Path" Display="always-hide" Required="true" Mask="false">/mnt/user/appdata/crafty-web/backups</Config>
<Config Name="Crafty Web Port" Target="8000" Default="8000" Mode="tcp" Description="Port for the Crafty Webinterface" Type="Port" Display="always-hide" Required="true" Mask="false">8000</Config>
<Config Name="Minecraft Port" Target="25565" Default="25565" Mode="tcp" Description="The port that minecraft uses. Add more ports if you run multiple minecraft instances." Type="Port" Display="always-hide" Required="true" Mask="false">25565</Config>
</Container>