Replies: 3 comments
-
|
Below is an Unraid XML template I made for myself to use on my Unraid server. You drop this as an xml file into the config/plugins/dockerMan/templates folder and then when you go to the Docker tab you click the Add Container button and in the next screen choose your xml template in the top "Template" dropdown. I'm not an Unraid expert or anything but maybe this helps you or someone else: <?xml version="1.0"?>
<ContainerTemplate>
<Name>Kokoro-TTS-GPU</Name>
<Description>Kokoro-TTS: High-quality Japanese text-to-speech API accelerated by GPU. [br][br]Requires Nvidia-Driver plugin on Unraid and configured GPU access.</Description>
<Registry>https://ghcr.io/remsky/kokoro-fastapi-gpu</Registry>
<Repository>ghcr.io/remsky/kokoro-fastapi-gpu:latest</Repository>
<ExtraParams>--runtime=nvidia</ExtraParams>
<Network>bridge</Network>
<Privileged>false</Privileged>
<Shell>bash</Shell>
<Support>https://github.com/Remsky/Kokoro-TTS/issues</Support>
<Project>https://github.com/Remsky/Kokoro-TTS</Project>
<Overview>Kokoro-TTS provides a high-quality Japanese text-to-speech (TTS) engine via a FastAPI interface, optimized for GPU usage.[br][br]Configuration Notes:[br]- Image: This template uses a pre-built image (ghcr.io/remsky/kokoro-fastapi-gpu:latest). If you built your own, update the Repository field (including the tag/version).[br]- GPU: Requires the Unraid Nvidia-Driver plugin. The NVIDIA_VISIBLE_DEVICES variable controls which GPU(s) are used ('all' or specific UUIDs).</Overview>
<Category>Productivity:MediaServer:Other</Category>
<WebUI>http://[IP]:[PORT:8880]/</WebUI>
<Config Name="Web Interface Port" Target="8880" Default="8880" Mode="tcp" Description="Port for accessing the Kokoro-TTS API." Type="Port" Display="always" Required="true"/>
<Config Name="Temporary Files Path" Target="/app/api/temp_files" Default="/mnt/user/data/tts" Mode="rw" Description="Container Path: /app/api/temp_files" Type="Path" Display="always" Required="true"/>
<Config Name="PUID" Target="PUID" Default="1001" Description="User ID" Type="Variable" Display="advanced" Required="false"/>
<Config Name="PGID" Target="PGID" Default="1001" Description="Group ID" Type="Variable" Display="advanced" Required="false"/>
<Config Name="PYTHONPATH" Target="PYTHONPATH" Default="/app:/app/api" Mode="" Description="Internal Python path." Type="Variable" Display="advanced" Required="false"/>
<Config Name="USE_GPU" Target="USE_GPU" Default="true" Mode="" Description="Enable GPU usage." Type="Variable" Display="advanced" Required="false"/>
<Config Name="PYTHONUNBUFFERED" Target="PYTHONUNBUFFERED" Default="1" Mode="" Description="Disable Python output buffering." Type="Variable" Display="advanced" Required="false"/>
<Config Name="NVIDIA_VISIBLE_DEVICES" Target="NVIDIA_VISIBLE_DEVICES" Default="all" Description="GPU(s) to pass through ('all' or specific UUIDs)." Type="Variable" Display="advanced" Required="true"/>
</ContainerTemplate> |
Beta Was this translation helpful? Give feedback.
-
|
I updated it a bit, and published it the unRAID community app store using my repo. For reference or edit suggestions see the source here: Using the kokoro's author Hexgrad's logo as the icon for now. Should appear on the CA store next time a scan is done! |
Beta Was this translation helpful? Give feedback.
-
|
However, there are also these available, I didn't realize lol: |
Beta Was this translation helpful? Give feedback.


Uh oh!
There was an error while loading. Please reload this page.
-
Describe the feature you'd like
A clear and concise description of what you want to happen. Is it a quality of life improvement, something new entirely?
Someone smarter than me to put this in the Unraid app store. This would make a great addition and would be greatly appreciated!
Beta Was this translation helpful? Give feedback.
All reactions