stable-diffusion-webui icon indicating copy to clipboard operation
stable-diffusion-webui copied to clipboard

How do I disable Syncthing and Jupyter Notebook on startup or remove them completely from build?

Open Quakumei opened this issue 9 months ago • 2 comments

Hello @robballantyne! Thanks a lot for maintaining the docker container for A1111 webui, it's been very helpful and handy to use for me. Service portal is fire in means of monitoring and observing the container. Caddy proxy is lit.

Currently my aim is to create a minimal container to provide Stable Diffusion services via API, and I was wondering whether or not there is a possibility to remove Jupyter Notebook and Syncthing services from the docker container, or atleast, disable them on container startup to reduce overhead and bloat in logs?

I've skimmed through Dockerfile, init.sh, other .sh scripts and couldn't find where those services are being boot. In README.md and base image container documentation there is only enough information to come up with script for disabling services after the startup via supervisorctl. (README.md#Additional services + 1.0-Included-Software)

Apparently, there is an opportunity to use base container without jupyter somehow as described in 5.0-Building-the-Image, but there is scarcely any information about installation / disabling of Syntching server.

Can you give me a hint on how to disable those services on startup or remove them from build completely? Or where at least I should look for to achieve what I want?

I believe that such possibility to disable unnescessary services would be handy to have for other people too.

Hope to hear from you soon

Ilya

Quakumei avatar May 09 '24 08:05 Quakumei