mirror of
https://github.com/SillyTavern/SillyTavern-Extras.git
synced 2026-10-15 18:11:52 +00:00
[GH-ISSUE #210] Docker compose issues #129
Labels
No labels
bug
duplicate
planned
pull-request
under consideration
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
SillyTavern/SillyTavern-Extras#129
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @rigbyb on GitHub (Dec 24, 2023).
Original GitHub issue: https://github.com/SillyTavern/SillyTavern-Extras/issues/210
There were some issues during the docker container setup on my machine that I managed to circumvent, so I'm posting some details here.
System Info
docker-compose.yml
docker compose upseems to fail due to indentation. Despite the message, this was caused by line 5 (deploy:):This was fixed by removing the single extra space before "deploy:".
Another issue came from mounting
api_key.txt.The mount location for
api_key.txtassumes the current directory (line 26):Based off the cloned repo,
api_key.txtis located in the parent directory, and thus should be:Dockerfile
The Dockerfile build process gets stuck at stage 8/11 (conda install) due to the confirmation "([y]/n)?" dialogue.
Adding
-yto the conda install step on line 26 seems to solve this issue.RUN conda install -y pytorch torchvision torchaudio pytorch-cuda=11.7 git -c pytorch -c nvidia -c conda-forge@rigbyb commented on GitHub (Dec 24, 2023):
These changes seemed to have solved my issues, and so hopefully will apply to others (without causing anything to break). I can also add these changes to a commit, if necessary (and possible).
@Cohee1207 commented on GitHub (Dec 24, 2023):
I tried to fix, but idk if it worked. I never tried running it with Docker
@rigbyb commented on GitHub (Dec 24, 2023):
It's okay. The updates seem to have fixed the issues I mentioned. Thanks :)