Docker compose file for V2 #549
-
Hi, Great program and I'm impressed with and grateful for your work. I am running V1 in Docker Desktop for Windows under WSL2 with Ubuntu. I modified the included compose file to run tailscale so I can access the service remotely from within my tailnet. I have no earthly idea how I would go about doing this with V2 and once we start talking about modifying dockerfiles and building images and so on, I'm lost. If anyone has the ability to write such a compose file for V2 it would be appreciated. If that is a monumental undertaking then I am ok with V1. :) |
Beta Was this translation helpful? Give feedback.
Replies: 6 comments 9 replies
-
I cannot help you with Docker compose. But what I can say is that there are Docker images published to Docker hub. No need to build them yourself. See #378 (comment) |
Beta Was this translation helpful? Give feedback.
-
If you could explain in more detail what exactly you did to V1 to run it with Tailscale, we might be able to help. |
Beta Was this translation helpful? Give feedback.
-
I made sure Docker Desktop is using WSL2 backend / Ubuntu 20.04 / CUDA toolkit 12.4 per the Docker Support (Beta) Wiki page. I get three errors resulting in a startup loop. If any of these errors mean anything to you, I'd appreciate your comments. File "/app/tts_server.py", line 58, in File "/app/script.py", line 70, in File "/app/script.py", line 79, in |
Beta Was this translation helpful? Give feedback.
-
Hahaha! Duh. That indeed fixed everything. I have a number of other services running in Docker, and attempting to connect them to the host machine would have been problematic. Thank you so much! |
Beta Was this translation helpful? Give feedback.
-
So sorry to bug you again. This works great but I'd really like to use my host for these directories:
These directories seem to be mounted to /home/alltalk despite this argument in my compose file. If there is some simple change to this syntax I would appreciate the input. I understand this is not a Docker 101 forum. :) |
Beta Was this translation helpful? Give feedback.
-
I answered my own question. Change /app/ to /home/alltalk/. Anyway I've successfully spun up alltalk v2 using a single docker compose file and the JSON config file. Now that I have it figured out, it was pretty simple. Thanks again for the help. |
Beta Was this translation helpful? Give feedback.
If I may ask why don't you just use alltalks windows version instead of running via wsl2 on docker?
But the solution should be pretty simple: switch the :cuda tag to one of the active ones. (XTTS, PIPER, and so on, depenging on which engine you want to use)