<?xml version="1.0"?>
<Container version="2">
  <Name>vikunja-api</Name>
  <Repository>vikunja/api:latest</Repository>
  <Registry>https://hub.docker.com/r/vikunja/api/</Registry>
  <Network>bridge</Network>
  <Shell>sh</Shell>
  <Privileged>false</Privileged>
  <Support>https://forums.unraid.net/topic/89502-support-a75g-repo/</Support>
  <Project>https://vikunja.io/</Project>
  <Overview>The to-do app to organize your life.</Overview>
  <Category>Productivity:</Category>
  <TemplateURL>https://raw.githubusercontent.com/A75G/docker-templates/master/templates/vikunja-api.xml</TemplateURL>
  <Icon>https://raw.githubusercontent.com/A75G/docker-templates/master/templates/icons/vikunja.png</Icon>
  <Description>The to-do app to organize your life.</Description>
  <Requires>Requires a config file to run: see https://vikunja.io/docs/config-options/ or use the example defaul config https://kolaente.dev/vikunja/api/src/branch/main/config.yml.sample (remove the '.sample' and fill in needed data)</Requires> 
  <Config Name="Port 1" Target="3456" Default="" Mode="tcp" Description="Port 1" Type="Port" Display="always" Required="false" Mask="false">3456</Config>
  <Config Name="AppData" Target="/app/vikunja/files" Default="" Mode="rw" Description="AppData" Type="Path" Display="always" Required="false" Mask="false">/mnt/user/appdata/vikunja</Config>
  <Config Name="Config Folder" Target="/etc/vikunja" Default="" Mode="rw" Description="Folder where you place your 'config.yml' file" Type="Path" Display="always" Required="true" Mask="false">/mnt/user/appdata/vikunja/config</Config>
  <Config Name="Sqlite Path" Target="VIKUNJA_DATABASE_PATH" Default="" Mode="" Description="When using sqlite, this is the path where to store the data inisde the container" Type="Variable" Display="always" Required="false" Mask="false">/etc/vikunja/vikunja.db</Config> 
  <Config Name="Database Host" Target="VIKUNJA_DATABASE_HOST" Default="" Mode="" Description="Database host - Only if Database Type is set to mysql or postgres" Type="Variable" Display="always" Required="false" Mask="false">db</Config>
  <Config Name="Database Password" Target="VIKUNJA_DATABASE_PASSWORD" Default="" Mode="" Description="Database Password - Only if Database Type is set to mysql or postgres" Type="Variable" Display="always" Required="false" Mask="false">password</Config>
  <Config Name="Database Type" Target="VIKUNJA_DATABASE_TYPE" Default="" Mode="" Description="Database type to use. Supported types are mysql, postgres and sqlite." Type="Variable" Display="always" Required="false" Mask="false">sqlite</Config>
  <Config Name="Database User" Target="VIKUNJA_DATABASE_USER" Default="" Mode="" Description="Database User - Only if Database Type is set to mysql or postgres" Type="Variable" Display="always" Required="false" Mask="false">root</Config>
  <Config Name="Database Name" Target="VIKUNJA_DATABASE_DATABASE" Default="" Mode="" Description="Database to use - Only if Database Type is set to mysql or postgres" Type="Variable" Display="always" Required="false" Mask="false">vikunja</Config>
  <Config Name="PUID" Target="PUID" Default="" Mode="" Description="" Type="Variable" Display="advanced" Required="false" Mask="false">99</Config>
  <Config Name="PGID" Target="PGID" Default="" Mode="" Description="" Type="Variable" Display="advanced" Required="false" Mask="false">100</Config>
</Container>
