mirror of
https://github.com/easydiffusion/easydiffusion.git
synced 2025-06-20 18:08:00 +02:00
Updated Config settings (markdown)
parent
710e9ed877
commit
a43087320f
@ -1,25 +1,24 @@
|
||||
# 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 by creating a file `scripts/config.json` before starting EasyDiffusion:
|
||||
```json
|
||||
{
|
||||
"net": {
|
||||
"listen_port": 9000,
|
||||
"listen_to_network": true
|
||||
}
|
||||
}
|
||||
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 by creating a file `config.yaml` in the EasyDiffusion directory before starting EasyDiffusion:
|
||||
```yaml
|
||||
net:
|
||||
listen_port: 9000
|
||||
listen_to_network: true
|
||||
```
|
||||
The `listen_to_network` setting configures whether to only listen on `localhost` (false) or on all interfaces (true).
|
||||
The `listen_to_network` setting configures whether to only listen on `localhost` (false) or on all interfaces (true). Please note that indentation is important and the space characters in front of `listen_port` and `listen_to_network` are required.
|
||||
|
||||
## Prevent browser start
|
||||
If you're installing on a headless system, you might need to prevent the browser startup that normally occurs during installation. To do so, create a file `config.json` in the `scripts` folder with this content:
|
||||
```
|
||||
{"render_devices": "auto", "update_branch": "main", "ui": {"open_browser_on_start": false} }
|
||||
If you're installing on a headless system, you might need to prevent the browser startup that normally occurs during installation. To do so, create a file `config.yaml` in the EasyDiffusion directory with this content:
|
||||
```yaml
|
||||
ui:
|
||||
open_browser_on_start: false
|
||||
```
|
||||
Please note that indentation is important and the space characters in front of `open_browser_on_start` are required.
|
||||
|
||||
# Runtime settings
|
||||
The runtime settings are stored in the following files:
|
||||
* `scripts/config.json`
|
||||
* `config.yaml`
|
||||
* `scripts/user_config.sh`
|
||||
* `scripts/user_config.bat`
|
||||
The user_config files can be used to set environment variables for some of the AI runtimes, e.g. for ROCm settings.
|
Loading…
x
Reference in New Issue
Block a user