mirror of
https://github.com/Dokploy/templates.git
synced 2026-06-15 20:25:24 +02:00
* Refactor open-webui Docker Compose and template configurations - Commented out the ollama service in docker-compose.yml for clarity and potential future use. - Updated the webui service to include extra_hosts for improved networking. - Adjusted the port configuration in template.toml from 8_080 to 8080 for consistency. - Added a new webui_secret_key variable for enhanced security in the template. - Included environment variable comments for optional services like Playwright and stable-diffusion-webui. * Update Docker Compose configurations and enhance security features - Commented out the ollama service in docker-compose.yml for clarity. - Updated webui service with extra_hosts for improved networking. - Adjusted port configuration in template.toml to ensure consistency. - Introduced webui_secret_key variable for enhanced security. - Added comments for optional environment variables related to Playwright and stable-diffusion-webui. * Update Docker Compose and template configurations for Open WebUI - Refined the open-webui service in docker-compose.yml by specifying the main image tag and adding port configuration. - Enhanced environment variable setup for improved clarity and security, including the addition of webui_secret_key. - Updated template.toml to reflect the new structure for environment variables and mounts, ensuring consistency with docker-compose.yml. - Added comments for optional services like Ollama, Playwright, and Stable Diffusion to guide future configurations.
28 lines
663 B
TOML
28 lines
663 B
TOML
[variables]
|
|
main_domain = "${domain}"
|
|
webui_secret_key = "${password:32}"
|
|
|
|
[config]
|
|
[[config.domains]]
|
|
serviceName = "open-webui"
|
|
port = 8080
|
|
host = "${main_domain}"
|
|
|
|
[config.env]
|
|
# Secret key for signing JWTs for authentication.
|
|
# A random key is generated by default.
|
|
webui_secret_key = "${webui_secret_key}" # API Key
|
|
|
|
[[config.mounts]]
|
|
serviceName = "open-webui"
|
|
type = "volume"
|
|
source = "open-webui"
|
|
target = "/app/backend/data"
|
|
|
|
# Mount for the optional 'ollama' service.
|
|
# This will be used if you uncomment the 'ollama' service in the docker-compose file.
|
|
[[config.mounts]]
|
|
serviceName = "ollama"
|
|
type = "volume"
|
|
source = "ollama"
|
|
target = "/root/.ollama" |