You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
server:
host: 0.0.0.0port: 40114proxy:
engine: "olla"# or "olla" for high performanceload_balancer: "priority"# or round-robin, least-connectionsdiscovery:
endpoints:
- name: "server"url: "http://localhost:11434"platform: "ollama"priority: 100# Higher = preferredtags:
models: "hf.co/unsloth/Qwen3-Coder-30B-A3B-Instruct-GGUF:IQ2_XXS"
- name: "desktop"url: "http://other:11434"platform: "ollama"priority: 50# Lower priority fallbacktags:
models: "hf.co/unsloth/Qwen3-Coder-30B-A3B-Instruct-GGUF:IQ2_XXS"
And in OpenWebUI conection: http://URL:PORT/olla/ollama
And he does not recognize it ...
PS: I have Ollama and Olla on the same Docker server.
Because it's using /app/config.yaml which is that you're overriding - your compose:
volumes:
- ./config/olla/config.yaml:/app/config.yaml # <--- this isn't being overriden
- ./config/olla/logs:/app/logs
I looked at our current production bits and we have this and works on Mac / Linux - i added an instance of Ollama just for kicks:
docker-compose.yaml
services:
# Olla proxy/load balancer - connects to external Ollama instances
olla:
image: ghcr.io/thushan/olla:latest
container_name: olla
restart: unless-stopped
ports:
- "40114:40114"
environment:
- OLLA_CONFIG_FILE=/app/config.yaml
- OLLA_LOG_LEVEL=debug
- OLLA_LOG_FORMAT=json
- OLLA_SERVER_HOST=0.0.0.0
- OLLA_SERVER_PORT=40114
volumes:
# Overide the default with our custom configuration
- ./olla.yaml:/app/config.yaml:ro
- ./.container/olla/logs:/app/logs
depends_on: [ollama]
ollama:
image: ollama/ollama:latest
container_name: ollama
ports:
- 11435:11434
volumes:
- ollama_data:/root/.ollama
# OpenWebUI - the web interface
openwebui:
image: ghcr.io/open-webui/open-webui:main
container_name: openwebui
restart: unless-stopped
ports:
- "9000:8080"
volumes:
- openwebui_data:/app/backend/data
environment:
# Point OpenWebUI to Olla instead of directly to Ollama
- OLLAMA_BASE_URL=http://olla:40114/olla/ollama
# Optional: Set other OpenWebUI configuration
- WEBUI_NAME=Olla + OpenWebUI
- WEBUI_URL=http://localhost:3000
- WEBUI_SECRET_KEY=your-secret-key-change-this
depends_on: [olla]
volumes:
openwebui_data:
driver: local
ollama_data:
driver: local
networks:
default:
name: olla-network
olla.yaml
# Olla Configuration for OpenWebUI Integration
# This config connects to external Ollama instances and provides a unified interface for OpenWebUI
server:
host: "0.0.0.0"
port: 40114
read_timeout: 30s
write_timeout: 0s # for LLMs streaming, leave this as 0s
shutdown_timeout: 10s
request_logging: true
request_limits:
max_body_size: 52428800 # 50MB
max_header_size: 524288 # 512KB
rate_limits:
global_requests_per_minute: 1000
per_ip_requests_per_minute: 100
health_requests_per_minute: 1000
burst_size: 50
per_endpoint:
default_requests_per_minute: 200
cleanup_interval: 5m
trust_proxy_headers: false
trusted_proxy_cidrs: [
"127.0.0.0/8",
"10.0.0.0/8",
"172.16.0.0/12",
"192.168.0.0/16"
]
proxy:
engine: "sherpa" # Available: sherpa, olla
connection_timeout: 40s
response_timeout: 900s
read_timeout: 300s
max_retries: 3
retry_backoff: 500ms
load_balancer: "priority" # Available: round-robin, least-connections, priority
stream_buffer_size: 8192
discovery:
type: "static"
refresh_interval: 30s
static:
endpoints:
# Add your Ollama instances here
# Example: Local Ollama instance (if running on host)
- url: "http://ollama:11435"
name: "local-ollama"
type: "ollama"
priority: 100
model_url: "/api/tags"
health_check_url: "/"
check_interval: 2s
check_timeout: 1s
# Example: Remote Ollama instance
# - url: "http://192.168.1.100:11434"
# name: "remote-ollama"
# type: "ollama"
# priority: 50
# model_url: "/api/tags"
# health_check_url: "/"
# check_interval: 2s
# check_timeout: 1s
# Example: Another remote Ollama instance
# - url: "http://gpu-server:11434"
# name: "gpu-ollama"
# type: "ollama"
# priority: 75
# model_url: "/api/tags"
# health_check_url: "/"
# check_interval: 2s
# check_timeout: 1s
model_discovery:
enabled: true
interval: 5m
timeout: 30s
concurrent_workers: 5
retry_attempts: 3
retry_backoff: 1s
model_registry:
type: "memory"
enable_unifier: true
unification:
enabled: true
stale_threshold: 24h # How long to keep models in memory after last seen
cleanup_interval: 10m # How often to check for stale models
logging:
level: "info" # debug, info, warn, error
format: "json" # json, text
output: "stdout" # stdout, file
engineering:
show_nerdstats: false
OpenWebUI loads and once we add a new model into the containerised Ollama it runs (I just added TinyLlama).
Which OS are you on and docker version?
Are the paths etc correct?
I think there's something definitely not right in that it's not picking up your config file. Maybe as a test, you can change the configuration file and see it it picks up your two endpoints?
thanks for making Olla! we tried it in docker for my company and our staff. we really really like it. super small, and after setup, not much to worry about. sometimes our server goes offline when we have five running, so this is perfect for us now.
i'm doing same like @vk2r. just overwriting the default config and it works fine. i'm using docker on windows server (not hypervisor). we use app/config/config.yaml.
Ah, for development, we gitignore all .local files usually, otherwise it's a pain to manage configurations etc - or accidentally commit our own configs!
Thank you for your help. I have found the problem. In the server part, the host I have written as 0.0.0.0 and not “0.0.0.0”. This may be why it was not detecting my endpoints correctly.
It worked correctly in OpenWebUI and I have occupied my servers.
Sorry @thushan . Could you in the future, make the documentation more complete. I have seen some configurations that I don't think I have seen in the documentation. It would be interesting to do the documentation for each section of the config file.
Thank you for this tool.
I don't have enough technical knowledge to have put something like this together.
That's great news @vk2r, glad it's working now - my eyes completely skipped past that! You raising the issue has highlighted some excellent things for me to address.
No need to be sorry at all. It's my fault for not writing docs before publicly releasing things! There's a lot to write and well, you know tech people and documentation ;-)
Will focus on docs in the future and please accept an apology from me. Feel free to close this issue when you're able if it's resolved.
Activity
thushan commentedon Aug 3, 2025
Thanks for reporting this, I think I see the issue, I updated our docs but I think the base examples were all for Scout rather than Olla.
We've got a batch of documentation coming soon, we'll add an example for Ollama there too!
thushan commentedon Aug 3, 2025
I've merged the doc update and also included an example Olla + OpenWebUI example configuration:
There are a few endpoints still missing that openwebui needs, that we'll add hopefully this week.
Thanks for reporting and let me know how you go.
vk2r commentedon Aug 3, 2025
I have used this configuration, however, it seems as if the container does not take the configuration.
Is there something wrong?
docker-compose.yml
config.yaml
logs
`
{"timestamp":"2025-08-03 13:58:44","level":"INFO","msg":"Initialising","version":"v0.0.12","pid":1}
{"timestamp":"2025-08-03 13:58:44","level":"INFO","msg":"Loaded configuration","config":"/app/config.yaml"}
{"timestamp":"2025-08-03 13:58:44","level":"DEBUG","msg":"Service registered","name":"stats"}
{"timestamp":"2025-08-03 13:58:44","level":"DEBUG","msg":"Service registered","name":"security"}
{"timestamp":"2025-08-03 13:58:44","level":"DEBUG","msg":"Service registered","name":"discovery"}
{"timestamp":"2025-08-03 13:58:44","level":"DEBUG","msg":"Service registered","name":"proxy"}
{"timestamp":"2025-08-03 13:58:44","level":"DEBUG","msg":"Service registered","name":"http"}
{"timestamp":"2025-08-03 13:58:44","level":"DEBUG","msg":"Starting services","count":5}
{"timestamp":"2025-08-03 13:58:44","level":"DEBUG","msg":"Starting service","name":"stats","dependencies":[]}
{"timestamp":"2025-08-03 13:58:44","level":"INFO","msg":"Initialising stats collector"}
{"timestamp":"2025-08-03 13:58:44","level":"INFO","msg":"Stats collector initialised"}
{"timestamp":"2025-08-03 13:58:44","level":"DEBUG","msg":"Service started","name":"stats"}
{"timestamp":"2025-08-03 13:58:44","level":"DEBUG","msg":"Starting service","name":"security","dependencies":["stats"]}
{"timestamp":"2025-08-03 13:58:44","level":"INFO","msg":"Initialising security service"}
{"timestamp":"2025-08-03 13:58:44","level":"INFO","msg":"Security services initialised","globalRateLimit":1000,"perIPRateLimit":100,"maxBodySize":104857600}
{"timestamp":"2025-08-03 13:58:44","level":"DEBUG","msg":"Service started","name":"security"}
{"timestamp":"2025-08-03 13:58:44","level":"DEBUG","msg":"Starting service","name":"discovery","dependencies":["stats"]}
{"timestamp":"2025-08-03 13:58:44","level":"INFO","msg":"Initialising discovery service"}
{"timestamp":"2025-08-03 13:58:44","level":"INFO","msg":"Started in-memory model registry"}
{"timestamp":"2025-08-03 13:58:44","level":"INFO","msg":"Starting Health Checker Service","check_interval":30000000000,"endpoints":1}
{"timestamp":"2025-08-03 13:58:44","level":"INFO","msg":"Initialising health checks","endpoints":1}
{"timestamp":"2025-08-03 13:58:44","level":"INFO","msg":"Registered endpoints \u001b[94m\u001b[94m(1)\u001b[0m\u001b[0m"}
{"timestamp":"2025-08-03 13:58:44","level":"WARN","msg":"Endpoint discovered offline: \u001b[95m\u001b[95mlocalhost\u001b[0m\u001b[0m","status":"offline","latency":309085240,"next_check_in":10000000000}
{"timestamp":"2025-08-03 13:58:44","level":"WARN","msg":"Endpoint discovered offline:","endpoint_name":"localhost","status":"offline","latency":309085240,"next_check_in":10000000000,"endpoint_url":"http://localhost:11434","status_code":0,"error_type":1,"check_error":"health check failed for localhost (http://localhost:11434): Get "http://localhost:11434/health": dial tcp [::1]:11434: connect: connection refused after 309.08524ms (failures: 0)"}
{"timestamp":"2025-08-03 13:58:44","level":"INFO","msg":"Endpoint registered","name":"localhost","url":"http://localhost:11434","priority":100}
{"timestamp":"2025-08-03 13:58:44","level":"INFO","msg":"Discovery service initialised","type":"static","endpoints":1}
{"timestamp":"2025-08-03 13:58:44","level":"DEBUG","msg":"Service started","name":"discovery"}
{"timestamp":"2025-08-03 13:58:44","level":"DEBUG","msg":"Starting service","name":"proxy","dependencies":["discovery","security","stats"]}
{"timestamp":"2025-08-03 13:58:44","level":"INFO","msg":"Initialising proxy service"}
{"timestamp":"2025-08-03 13:58:44","level":"INFO","msg":"Load balancer created","type":"least-connections"}
{"timestamp":"2025-08-03 13:58:44","level":"INFO","msg":"Initialising proxy service","type":"olla"}
{"timestamp":"2025-08-03 13:58:44","level":"INFO","msg":"Proxy service initialised","engine":"olla","loadBalancer":"least-connections"}
{"timestamp":"2025-08-03 13:58:44","level":"DEBUG","msg":"Service started","name":"proxy"}
{"timestamp":"2025-08-03 13:58:44","level":"DEBUG","msg":"Starting service","name":"http","dependencies":["proxy","security"]}
{"timestamp":"2025-08-03 13:58:44","level":"INFO","msg":"Initialising HTTP service"}
{"timestamp":"2025-08-03 13:58:44","level":"INFO","msg":"Built path map for fast lookups","path_count":11,"profile_count":3}
{"timestamp":"2025-08-03 13:58:44","level":"INFO","msg":"Registering provider routes from profiles","count":4}
{"timestamp":"2025-08-03 13:58:44","level":"DEBUG","msg":"Profile has routing prefixes","profile":"lm-studio","prefixes":["lmstudio","lm-studio","lm_studio"]}
{"timestamp":"2025-08-03 13:58:44","level":"DEBUG","msg":"Registering routes for provider","prefix":"lmstudio","profile":"lm-studio"}
{"timestamp":"2025-08-03 13:58:44","level":"DEBUG","msg":"Registering routes for provider","prefix":"lm-studio","profile":"lm-studio"}
{"timestamp":"2025-08-03 13:58:44","level":"DEBUG","msg":"Registering routes for provider","prefix":"lm_studio","profile":"lm-studio"}
{"timestamp":"2025-08-03 13:58:44","level":"DEBUG","msg":"Profile has routing prefixes","profile":"ollama","prefixes":["ollama"]}
{"timestamp":"2025-08-03 13:58:44","level":"DEBUG","msg":"Registering routes for provider","prefix":"ollama","profile":"ollama"}
{"timestamp":"2025-08-03 13:58:44","level":"DEBUG","msg":"Profile has routing prefixes","profile":"vllm","prefixes":["vllm"]}
{"timestamp":"2025-08-03 13:58:44","level":"DEBUG","msg":"Registering routes for provider","prefix":"vllm","profile":"vllm"}
{"timestamp":"2025-08-03 13:58:44","level":"DEBUG","msg":"Profile has routing prefixes","profile":"openai-compatible","prefixes":["openai","openai-compatible"]}
{"timestamp":"2025-08-03 13:58:44","level":"DEBUG","msg":"Registering routes for provider","prefix":"openai","profile":"openai-compatible"}
{"timestamp":"2025-08-03 13:58:44","level":"DEBUG","msg":"Registering routes for provider","prefix":"openai-compatible","profile":"openai-compatible"}
{"timestamp":"2025-08-03 13:58:44","level":"INFO","msg":"Registered web routes \u001b[94m\u001b[94m(39)\u001b[0m\u001b[0m"}
{"timestamp":"2025-08-03 13:58:44","level":"INFO","msg":"HTTP server listening","address":"0.0.0.0:40114","readTimeout":30000000000,"writeTimeout":0,"idleTimeout":0}
{"timestamp":"2025-08-03 13:58:44","level":"INFO","msg":"Olla started, waiting for requests...","bind":"0.0.0.0:40114"}
{"timestamp":"2025-08-03 13:58:44","level":"DEBUG","msg":"Service started","name":"http"}
{"timestamp":"2025-08-03 13:58:44","level":"DEBUG","msg":"All services started successfully"}
{"timestamp":"2025-08-03 13:58:44","level":"DEBUG","msg":"Service manager startup completed","duration":431644781}
{"timestamp":"2025-08-03 13:58:49","level":"INFO","msg":"Request started","request_id":"noble-ambling-e0cd","method":"HEAD","path":"/internal/health","remote_addr":"[::1]:34354","user_agent":"Wget/1.25.0","request_bytes":0,"request_size_formatted":"0B"}
{"timestamp":"2025-08-03 13:58:49","level":"INFO","msg":"Request completed","request_id":"noble-ambling-e0cd","method":"HEAD","path":"/internal/health","status":200,"duration_ms":0,"duration_formatted":"108.942µs","request_bytes":0,"response_bytes":21,"size_flow":"0B -> 21B"}
{"timestamp":"2025-08-03 13:58:49","level":"INFO","msg":"Access log","timestamp":"2025-08-03T13:58:49Z","request_id":"shaggy-browsing-20d1","remote_addr":"[::1]:34354","method":"HEAD","path":"/internal/health","query":"","status":200,"request_bytes":0,"response_bytes":21,"duration_ms":0,"user_agent":"Wget/1.25.0","referer":"","content_type":"","accept":"/"}
{"timestamp":"2025-08-03 13:59:14","level":"DEBUG","msg":"Performing health checks","endpoints_to_check":1}
{"timestamp":"2025-08-03 13:59:19","level":"INFO","msg":"Request started","request_id":"steady-humming-e022","method":"HEAD","path":"/internal/health","remote_addr":"[::1]:44858","user_agent":"Wget/1.25.0","request_bytes":0,"request_size_formatted":"0B"}
{"timestamp":"2025-08-03 13:59:19","level":"INFO","msg":"Request completed","request_id":"steady-humming-e022","method":"HEAD","path":"/internal/health","status":200,"duration_ms":0,"duration_formatted":"104.954µs","request_bytes":0,"response_bytes":21,"size_flow":"0B -> 21B"}
{"timestamp":"2025-08-03 13:59:19","level":"INFO","msg":"Access log","timestamp":"2025-08-03T13:59:19Z","request_id":"huacaya-wandering-eb99","remote_addr":"[::1]:44858","method":"HEAD","path":"/internal/health","query":"","status":200,"request_bytes":0,"response_bytes":21,"duration_ms":0,"user_agent":"Wget/1.25.0","referer":"","content_type":"","accept":"/"}
{"timestamp":"2025-08-03 13:59:44","level":"DEBUG","msg":"Performing health checks","endpoints_to_check":1}
{"timestamp":"2025-08-03 13:59:49","level":"INFO","msg":"Request started","request_id":"silky-spitting-8086","method":"HEAD","path":"/internal/health","remote_addr":"[::1]:58334","user_agent":"Wget/1.25.0","request_bytes":0,"request_size_formatted":"0B"}
{"timestamp":"2025-08-03 13:59:49","level":"INFO","msg":"Request completed","request_id":"silky-spitting-8086","method":"HEAD","path":"/internal/health","status":200,"duration_ms":0,"duration_formatted":"149.417µs","request_bytes":0,"response_bytes":21,"size_flow":"0B -> 21B"}
{"timestamp":"2025-08-03 13:59:49","level":"INFO","msg":"Access log","timestamp":"2025-08-03T13:59:49Z","request_id":"huacaya-alerting-daf3","remote_addr":"[::1]:58334","method":"HEAD","path":"/internal/health","query":"","status":200,"request_bytes":0,"response_bytes":21,"duration_ms":0,"user_agent":"Wget/1.25.0","referer":"","content_type":"","accept":"/"}
{"timestamp":"2025-08-03 14:00:19","level":"INFO","msg":"Request started","request_id":"woolly-resting-d68b","method":"HEAD","path":"/internal/health","remote_addr":"[::1]:52066","user_agent":"Wget/1.25.0","request_bytes":0,"request_size_formatted":"0B"}
{"timestamp":"2025-08-03 14:00:19","level":"INFO","msg":"Request completed","request_id":"woolly-resting-d68b","method":"HEAD","path":"/internal/health","status":200,"duration_ms":0,"duration_formatted":"107.87µs","request_bytes":0,"response_bytes":21,"size_flow":"0B -> 21B"}
{"timestamp":"2025-08-03 14:00:19","level":"INFO","msg":"Access log","timestamp":"2025-08-03T14:00:19Z","request_id":"suri-prancing-4d22","remote_addr":"[::1]:52066","method":"HEAD","path":"/internal/health","query":"","status":200,"request_bytes":0,"response_bytes":21,"duration_ms":0,"user_agent":"Wget/1.25.0","referer":"","content_type":"","accept":"/"}
{"timestamp":"2025-08-03 14:00:44","level":"DEBUG","msg":"Performing health checks","endpoints_to_check":1}
{"timestamp":"2025-08-03 14:00:49","level":"INFO","msg":"Request started","request_id":"swift-grazing-1818","method":"HEAD","path":"/internal/health","remote_addr":"[::1]:59290","user_agent":"Wget/1.25.0","request_bytes":0,"request_size_formatted":"0B"}
{"timestamp":"2025-08-03 14:00:49","level":"INFO","msg":"Request completed","request_id":"swift-grazing-1818","method":"HEAD","path":"/internal/health","status":200,"duration_ms":0,"duration_formatted":"119.19µs","request_bytes":0,"response_bytes":21,"size_flow":"0B -> 21B"}
{"timestamp":"2025-08-03 14:00:49","level":"INFO","msg":"Access log","timestamp":"2025-08-03T14:00:49Z","request_id":"swift-galloping-616d","remote_addr":"[::1]:59290","method":"HEAD","path":"/internal/health","query":"","status":200,"request_bytes":0,"response_bytes":21,"duration_ms":0,"user_agent":"Wget/1.25.0","referer":"","content_type":"","accept":"/"}
{"timestamp":"2025-08-03 14:01:19","level":"INFO","msg":"Request started","request_id":"noble-foraging-700f","method":"HEAD","path":"/internal/health","remote_addr":"[::1]:58936","user_agent":"Wget/1.25.0","request_bytes":0,"request_size_formatted":"0B"}
{"timestamp":"2025-08-03 14:01:19","level":"INFO","msg":"Request completed","request_id":"noble-foraging-700f","method":"HEAD","path":"/internal/health","status":200,"duration_ms":0,"duration_formatted":"102.66µs","request_bytes":0,"response_bytes":21,"size_flow":"0B -> 21B"}
{"timestamp":"2025-08-03 14:01:19","level":"INFO","msg":"Access log","timestamp":"2025-08-03T14:01:19Z","request_id":"fluffy-resting-ccd5","remote_addr":"[::1]:58936","method":"HEAD","path":"/internal/health","query":"","status":200,"request_bytes":0,"response_bytes":21,"duration_ms":0,"user_agent":"Wget/1.25.0","referer":"","content_type":"","accept":"/"}
{"timestamp":"2025-08-03 14:01:50","level":"INFO","msg":"Request started","request_id":"fluffy-leading-226a","method":"HEAD","path":"/internal/health","remote_addr":"[::1]:43808","user_agent":"Wget/1.25.0","request_bytes":0,"request_size_formatted":"0B"}
{"timestamp":"2025-08-03 14:01:50","level":"INFO","msg":"Request completed","request_id":"fluffy-leading-226a","method":"HEAD","path":"/internal/health","status":200,"duration_ms":0,"duration_formatted":"99.413µs","request_bytes":0,"response_bytes":21,"size_flow":"0B -> 21B"}
{"timestamp":"2025-08-03 14:01:50","level":"INFO","msg":"Access log","timestamp":"2025-08-03T14:01:50Z","request_id":"huacaya-grazing-a6e0","remote_addr":"[::1]:43808","method":"HEAD","path":"/internal/health","query":"","status":200,"request_bytes":0,"response_bytes":21,"duration_ms":0,"user_agent":"Wget/1.25.0","referer":"","content_type":"","accept":"/"}
´
thushan commentedon Aug 4, 2025
Hey,
That is indeed strange because it says:
Where as your config defines two endpoints. The local endpoint (by default) is not working, so it's marked as offline:
It feels like your config file was not accepted by docker to override:
Because it's using
/app/config.yamlwhich is that you're overriding - your compose:I looked at our current production bits and we have this and works on Mac / Linux - i added an instance of Ollama just for kicks:
docker-compose.yaml
olla.yaml
OpenWebUI loads and once we add a new model into the containerised Ollama it runs (I just added TinyLlama).
I think there's something definitely not right in that it's not picking up your config file. Maybe as a test, you can change the configuration file and see it it picks up your two endpoints?
When you do run it, you can see if it's available in the container:
The order of how the config files are loaded is like this:
-cor--configOLLA_CONFIG_FILE/app):We can break the chain and use a completely different path/name and see what it loads on your setup.
Your log outputs highlighted that release builds still emit ANSI code, so I will fix that today. Thanks.
Let me know how it goes.
rusticslayer commentedon Aug 4, 2025
thanks for making Olla! we tried it in docker for my company and our staff. we really really like it. super small, and after setup, not much to worry about. sometimes our server goes offline when we have five running, so this is perfect for us now.
i'm doing same like @vk2r. just overwriting the default config and it works fine. i'm using docker on windows server (not hypervisor). we use app/config/config.yaml.
why you are using config.local.yaml as first?
thushan commentedon Aug 4, 2025
That's great to hear!
Ah, for development, we gitignore all .local files usually, otherwise it's a pain to manage configurations etc - or accidentally commit our own configs!
vk2r commentedon Aug 4, 2025
Thank you for your help. I have found the problem. In the server part, the host I have written as 0.0.0.0 and not “0.0.0.0”. This may be why it was not detecting my endpoints correctly.
It worked correctly in OpenWebUI and I have occupied my servers.
Sorry @thushan . Could you in the future, make the documentation more complete. I have seen some configurations that I don't think I have seen in the documentation. It would be interesting to do the documentation for each section of the config file.
Thank you for this tool.
I don't have enough technical knowledge to have put something like this together.
thushan commentedon Aug 4, 2025
That's great news @vk2r, glad it's working now - my eyes completely skipped past that! You raising the issue has highlighted some excellent things for me to address.
No need to be sorry at all. It's my fault for not writing docs before publicly releasing things! There's a lot to write and well, you know tech people and documentation ;-)
Will focus on docs in the future and please accept an apology from me. Feel free to close this issue when you're able if it's resolved.