mirror of
https://github.com/easydiffusion/easydiffusion.git
synced 2025-06-20 18:08:00 +02:00
Created Config settings (markdown)
parent
a1f8112c49
commit
e99ad795f4
27
Config-settings.md
Normal file
27
Config-settings.md
Normal file
@ -0,0 +1,27 @@
|
|||||||
|
# Installation time settings
|
||||||
|
## Network ports
|
||||||
|
During installation, the installer tries to start a web server on port `0.0.0.0:9000`. If this port is already in use, the startup will fail. You can change the port that the installer will use:
|
||||||
|
### Linux
|
||||||
|
Start the installer using `SD_UI_BIND_PORT=1234 ./start.sh` (Replace 1234 with the port number you want to use). If you also want to limit the web server to only listen to `localhost`, you can use `SD_UI_BIND_PORT=1234 SD_UI_BIND_IP=127.0.0.1 ./start.sh`
|
||||||
|
|
||||||
|
### Windows
|
||||||
|
First, open a `cmd` window, in which you run the following commands (replace `X` by the drive letter of your installation drive):
|
||||||
|
```
|
||||||
|
cd /d X:\stable-diffusion-ui
|
||||||
|
set SD_UI_BIND_PORT=1234
|
||||||
|
"Start Stable Diffusion UI.cmd"
|
||||||
|
```
|
||||||
|
If you also want to limit the web server to only listen to `localhost`, you can use:
|
||||||
|
```
|
||||||
|
cd /d X:\stable-diffusion-ui
|
||||||
|
set SD_UI_BIND_PORT=1234
|
||||||
|
set SD_UI_BIND_IP=127.0.0.1
|
||||||
|
"Start Stable Diffusion UI.cmd"
|
||||||
|
```
|
||||||
|
|
||||||
|
# Runtime settings
|
||||||
|
The runtime settings are stored in the following files:
|
||||||
|
* `scripts/config.json`
|
||||||
|
* `scripts/config.bat` (Windows)
|
||||||
|
* `scripts/config.sh` (Linux)
|
||||||
|
The `.bat` and `.sh` files contain settings required for the startup of the application. The `.json` file has settings needed at runtime.
|
Loading…
x
Reference in New Issue
Block a user