Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Kokoro-FastAPI

Featured Replies

Hi, I’m new here and was wondering if anyone could help me get Kokoro-FastAPI working in Unraid. I’ve been trying for days now using the app template but haven’t had any luck. I managed to get it working using the docker run command via terminal and also by compiling it and using Docker Compose.

I’ve been using the following docker run command:

 

docker run \
  -d \
  --name='Kokoro-FastAPI' \
  --net='utilities' \
  --pids-limit=2048 \
  -e TZ="America/New_York" \
  -e HOST_OS="Unraid" \
  -e HOST_HOSTNAME="EasyMedia" \
  -e HOST_CONTAINERNAME="Kokoro-FastAPI" \
  -l net.unraid.docker.managed=dockerman \
  -l net.unraid.docker.webui='http://[IP]:[PORT:8880]/' \
  -v '/mnt/cache/appdata/Kokoro-FastAPI:/app:rw' \
  'ghcr.io/remsky/kokoro-fastapi-cpu:latest'
 

 

No matter how many different versions of this docker run command I try, nothing ever seems to be written to the appdata directory. Could someone here help me figure out what I’m doing wrong?

Edited by shoyrock
formatting

Solved by shoyrock

  • 4 weeks later...
  • Author
39 minutes ago, Rollingsound514 said:

Bump!

I got it working, but I’m 99% sure I didn’t do it correctly. I skipped using the app data folder because every time I did, it broke the installation, so I just did it this way.

 

docker run
  -d
  --name='Kokoro-FastAPI'
  --net='utilities'
  --pids-limit 2048
  -e TZ="America/New_York"
  -e HOST_OS="Unraid"
  -e HOST_HOSTNAME=""
  -e HOST_CONTAINERNAME="Kokoro-FastAPI"
  -l net.unraid.docker.managed=dockerman
  -l net.unraid.docker.webui='http://[IP]:[PORT:8880]/web'
  -p '8880:8880/tcp' 'ghcr.io/remsky/kokoro-fastapi-cpu:latest'

  • 3 weeks later...
  • Author
  • Solution

docker run -d \
  --name='Kokoro-FastAPI' \
  --net='utilities' \
  --pids-limit 2048 \
  -e TZ="America/New_York" \
  -e HOST_OS="Unraid" \
  -e HOST_HOSTNAME="Unraid" \
  -e HOST_CONTAINERNAME="Kokoro-FastAPI" \
  -l net.unraid.docker.managed=dockerman \
  -l net.unraid.docker.webui='http://[IP]:[PORT:8880]/web' \
  -p '8880:8880/tcp' \
  -v '/mnt/cache/appdata/Kokoro-FastAPI':'/app/data':'rw' \
  'ghcr.io/remsky/kokoro-fastapi-cpu:latest'

  • 3 weeks later...

Hey, I just wanted to thank you for providing the solution to your original issue. I myself had tried to fix it and got it working like you without a appdata folder.

 

I'm not sure if it's just me though, but the docker does take a lot of space in my docker image. 13.2 GB to be exact after install. Are you familiar if there would be a way to allocate that space on appdata rather than on the docker image? Perhaps it's not possible, but I'm asking in case someone figured this part out.

Thanks nonetheless for sharing your progress and solutions, it's appreciated.

  • 7 months later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.