mirror of
				https://github.com/AbdBarho/stable-diffusion-webui-docker.git
				synced 2025-10-30 17:53:23 -04:00 
			
		
		
		
	Compare commits
	
		
			3 Commits
		
	
	
		
	
	| Author | SHA1 | Date | |
|---|---|---|---|
|  | c614625f04 | ||
|  | ccd6e238b2 | ||
|  | 829864af9b | 
							
								
								
									
										6
									
								
								.github/workflows/docker.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										6
									
								
								.github/workflows/docker.yml
									
									
									
									
										vendored
									
									
								
							| @@ -6,19 +6,19 @@ on: [push] | ||||
| jobs: | ||||
|   build_hlky: | ||||
|     runs-on: ubuntu-latest | ||||
|     name: Build hlky | ||||
|     name: hlky | ||||
|     steps: | ||||
|       - uses: actions/checkout@v3 | ||||
|       - run: docker compose build --progress plain | ||||
|   build_AUTOMATIC1111: | ||||
|     runs-on: ubuntu-latest | ||||
|     name: Build AUTOMATIC1111 | ||||
|     name: AUTOMATIC1111 | ||||
|     steps: | ||||
|       - uses: actions/checkout@v3 | ||||
|       - run: cd AUTOMATIC1111 && docker compose build --progress plain | ||||
|   build_lstein: | ||||
|     runs-on: ubuntu-latest | ||||
|     name: Build lstein | ||||
|     name: lstein | ||||
|     steps: | ||||
|       - uses: actions/checkout@v3 | ||||
|       - run: cd lstein && docker compose build --progress plain | ||||
|   | ||||
							
								
								
									
										22
									
								
								.github/workflows/executable.yml1
									
									
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										22
									
								
								.github/workflows/executable.yml1
									
									
									
									
										vendored
									
									
										Normal file
									
								
							| @@ -0,0 +1,22 @@ | ||||
| name: Check executable | ||||
|  | ||||
| on: [push] | ||||
|  | ||||
| jobs: | ||||
|   check: | ||||
|     runs-on: ubuntu-latest | ||||
|     name: Check all sh | ||||
|     steps: | ||||
|       - run: git config --global core.fileMode true | ||||
|       - uses: actions/checkout@v3 | ||||
|       - shell: bash | ||||
|         run: | | ||||
|           shopt -s globstar; | ||||
|           FAIL=0 | ||||
|           for file in **/*.sh; do | ||||
|               if [ -f "${file}" ] && [ -r "${file}" ] && [ ! -x "${file}" ]; then | ||||
|                   echo "$file" is not executable; | ||||
|                   FAIL=1 | ||||
|               fi | ||||
|           done | ||||
|           exit ${FAIL} | ||||
| @@ -14,18 +14,17 @@ FROM pytorch/pytorch:1.12.1-cuda11.3-cudnn8-runtime | ||||
| SHELL ["/bin/bash", "-ceuxo", "pipefail"] | ||||
|  | ||||
| ENV DEBIAN_FRONTEND=noninteractive | ||||
| RUN apt-get update && apt-get install git -y && apt-get clean | ||||
| RUN apt-get update && apt-get install git fonts-dejavu-core -y && apt-get clean | ||||
|  | ||||
| RUN <<EOF | ||||
| git clone https://github.com/AUTOMATIC1111/stable-diffusion-webui.git | ||||
| cd stable-diffusion-webui | ||||
| git reset --hard 064965c4660f57f24e2d51a9854defaeabf8c0cf | ||||
| git reset --hard db6db585eb9ee48e7315e28603e18531dbc87067 | ||||
| pip install -U --prefer-binary --no-cache-dir -r requirements.txt | ||||
| EOF | ||||
|  | ||||
| RUN <<EOF | ||||
| pip install --prefer-binary -U --no-cache-dir diffusers numpy invisible-watermark git+https://github.com/crowsonkb/k-diffusion.git \ | ||||
|   git+https://github.com/TencentARC/GFPGAN.git markupsafe==2.0.1 opencv-python-headless | ||||
| pip install --prefer-binary -U --no-cache-dir opencv-python-headless markupsafe==2.0.1 | ||||
| EOF | ||||
|  | ||||
|  | ||||
|   | ||||
| @@ -10,3 +10,5 @@ Clone this repo, download the `model.ckpt` and `GFPGANv1.3.pth` and put into the | ||||
| cd AUTOMATIC1111 | ||||
| docker compose up --build | ||||
| ``` | ||||
|  | ||||
| You can change the cli parameters in `AUTOMATIC1111/docker-compose.yml`. The full list of cil parameters can be found [here](https://github.com/AUTOMATIC1111/stable-diffusion-webui/blob/master/modules/shared.py) | ||||
|   | ||||
| @@ -1,3 +1,4 @@ | ||||
| { | ||||
|   "outdir_samples": "/output" | ||||
|   "outdir_samples": "/output", | ||||
|   "font": "DejaVuSans.ttf" | ||||
| } | ||||
|   | ||||
							
								
								
									
										0
									
								
								AUTOMATIC1111/mount.sh
									
									
									
									
									
										
										
										Normal file → Executable file
									
								
							
							
						
						
									
										0
									
								
								AUTOMATIC1111/mount.sh
									
									
									
									
									
										
										
										Normal file → Executable file
									
								
							
							
								
								
									
										0
									
								
								hlky/mount.sh
									
									
									
									
									
										
										
										Normal file → Executable file
									
								
							
							
						
						
									
										0
									
								
								hlky/mount.sh
									
									
									
									
									
										
										
										Normal file → Executable file
									
								
							
		Reference in New Issue
	
	Block a user