Atinoda / text-generation-webui-docker

Docker variants of oobabooga's text-generation-webui, including pre-built images.
GNU Affero General Public License v3.0
395 stars 77 forks source link

Include command with mounts. #51

Closed adamoutler closed 4 months ago

adamoutler commented 5 months ago

The basic idea here is to remove some of the guess work for those who are trying to test plugins and need persistence.

adamoutler commented 5 months ago

This may require some additional setup which is not mentioned I'm not sure if TextGen will automatically create or modify the permissions of the mount.

Atinoda commented 4 months ago

Hi @adamoutler, docker-compose is the encouraged way to deploy and bind folders to the container, with comprehensive examples included in the docker-compose.yml. The docker run instructions are only included in the readme for completeness. I decided not to encourage people to deploy the container with the run command because it tends to be more difficult to manage and configure consistently.

I'm going to close this PR for now, but I encourage you to try docker-compose and if your use-case is not supported by it - please feel welcome to open an issue and we can discuss it!