{"id":18204494,"url":"https://github.com/entelecheia/sdwebui-container","last_synced_at":"2026-04-17T10:31:05.188Z","repository":{"id":165802943,"uuid":"640378803","full_name":"entelecheia/sdwebui-container","owner":"entelecheia","description":"Stable Diffusion WebUI Container","archived":false,"fork":false,"pushed_at":"2023-08-24T10:09:56.000Z","size":273,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-06-03T20:43:33.260Z","etag":null,"topics":["automatic1111","docker","stable-diffusion","stable-diffusion-webui"],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/entelecheia.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-05-13T22:16:53.000Z","updated_at":"2024-07-12T11:51:50.000Z","dependencies_parsed_at":"2023-08-24T07:20:39.533Z","dependency_job_id":"dcb8cf60-cf4c-45b9-9efc-b3019941f2e2","html_url":"https://github.com/entelecheia/sdwebui-container","commit_stats":{"total_commits":42,"total_committers":2,"mean_commits":21.0,"dds":0.0714285714285714,"last_synced_commit":"70ebb3be1134082b9e0147e1354be91514ac657e"},"previous_names":["entelecheia/sdwebui-container"],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/entelecheia/sdwebui-container","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/entelecheia%2Fsdwebui-container","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/entelecheia%2Fsdwebui-container/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/entelecheia%2Fsdwebui-container/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/entelecheia%2Fsdwebui-container/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/entelecheia","download_url":"https://codeload.github.com/entelecheia/sdwebui-container/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/entelecheia%2Fsdwebui-container/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31925259,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-17T10:19:20.377Z","status":"ssl_error","status_checked_at":"2026-04-17T10:19:18.682Z","response_time":62,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["automatic1111","docker","stable-diffusion","stable-diffusion-webui"],"created_at":"2024-11-03T11:04:32.671Z","updated_at":"2026-04-17T10:31:05.152Z","avatar_url":"https://github.com/entelecheia.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Stable Diffusion WebUI Container\n\n[![version-image]][release-url]\n[![release-date-image]][release-url]\n[![license-image]][license-url]\n\nA containerized setup for Stable-Diffusion-WebUI.\n\n- GitHub: [https://github.com/entelecheia/sdwebui-container][repo-url]\n\nThis repository provides a container to install and run Stable-Diffusion-WebUI. It uses the PyTorch container as a base image and includes several additional packages necessary for Stable-Diffusion-WebUI.\n\n## Prerequisites\n\n- Docker\n- Docker Compose\n- NVIDIA Docker (for GPU support, Optional)\n\n## Build and Run\n\n1. Build the base Docker image:\n\n   ```bash\n   make docker-build-base\n   ```\n\n   The base Docker image are used to build other Docker images. It installs all the dependencies required by the project.\n\n   The `docker.base.env` file includes various configuration options and environment variables. The `docker-compose.base.yaml` file uses these variables to customize the behavior of the services. This is a common practice when you want to set different configurations for development, testing, and production environments. The `Dockerfile.base` file uses these variables to customize the Docker build. These files are automatically generated by Copier when you run the `copier copy` command.\n\n2. Build the application Docker image:\n\n   ```bash\n   make docker-build-app\n   ```\n\n   The application Docker image is used to run the application. It installs the application and its dependencies.\n\n   The `docker.app.env` file includes various configuration options and environment variables. The `docker-compose.app.yaml` file uses these variables to customize the behavior of the services. This is a common practice when you want to set different configurations for development, testing, and production environments. The `Dockerfile.app` file uses these variables to customize the Docker build. These files are automatically generated by Copier when you run the `copier copy` command.\n\n3. Start the Docker container:\n\n   ```bash\n   make docker-up-app\n   ```\n\n   This will start a Docker container with the image built in the previous step. The container will run a bash lauch script that starts the application.\n\n## Usage\n\nAfter starting the container, you can access the application at `localhost:\u003cAPP_HOST_WEB_SVC_PORT\u003e`. By default, the port is set to `17860`.\n\nYou can also SSH into the container using the SSH port specified in `APP_HOST_SSH_PORT`. By default, the port is set to `2822`.\n\n## Volumes\n\nThe `docker-compose.app.yaml` file specifies several volumes that bind mount directories on the host to directories in the container. These include the cache, the workspace directory, and the scripts directory. Changes made in these directories will persist across container restarts.\n\n## Troubleshooting\n\nIf you encounter any issues with this setup, please check the following:\n\n- Make sure Docker and Docker Compose are installed correctly.\n- Make sure NVIDIA Docker is installed if you're planning to use GPU acceleration.\n- Ensure the environment variables in the `docker.app.env` file are correctly set.\n- Check the Docker and Docker Compose logs for any error messages.\n\n## Environment Variables\n\nIn Docker, environment variables can be used in the `docker-compose.app.yaml` file to customize the behavior of the services.\n\nThe `docker-compose` command has an `--env-file` argument, but it's used to set the environment variables for the services defined in the `docker-compose.yaml` file, not for the `docker-compose` command itself. The variables defined in the `--env-file` will not be substituted into the `docker-compose.yaml` file.\n\nHowever, the environment variables we set in the `.docker/docker.app.env` file are used in the `docker-compose.app.yaml` file. For example, the `$BUILD_FROM` variable is used to set the base image for the Docker build. Therefore, we need to export these variables to the shell environment before running the `docker-compose` command.\n\nThis method also allows us to use shell commands in the variable definitions, like `\"$(whoami)\"` for the `USERNAME` variable, which wouldn't be possible if we used the `--env-file` argument. Shell commands in the `.env` file are not evaluated.\n\n## Changelog\n\nSee the [CHANGELOG] for more information.\n\n## Contributing\n\nContributions are welcome! Please see the [contributing guidelines] for more information.\n\n## License\n\nThis project is released under the [MIT License][license-url].\n\u003c!-- Links: --\u003e\n[license-image]: https://img.shields.io/github/license/entelecheia/sdwebui-container\n[license-url]: https://github.com/entelecheia/sdwebui-container/blob/main/LICENSE\n[version-image]: https://img.shields.io/github/v/release/entelecheia/sdwebui-container?sort=semver\n[release-date-image]: https://img.shields.io/github/release-date/entelecheia/sdwebui-container\n[release-url]: https://github.com/entelecheia/sdwebui-container/releases\n[repo-url]: https://github.com/entelecheia/sdwebui-container\n[changelog]: https://github.com/entelecheia/sdwebui-container/blob/main/CHANGELOG.md\n[contributing guidelines]: https://github.com/entelecheia/sdwebui-container/blob/main/CONTRIBUTING.md\n\u003c!-- Links: --\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fentelecheia%2Fsdwebui-container","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fentelecheia%2Fsdwebui-container","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fentelecheia%2Fsdwebui-container/lists"}