docs: add configuration reference documenting all config.yaml options #4
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Problem
There is no reference documentation for
config.yaml. The only guidance isconfig.example.yamlwhich has inline comments but does not explain the full scope of options, environment variable overrides, or the interaction between configuration sections.The auth system alone has significant configuration surface area (local, LDAP, OIDC, CORS, session settings) that users need to understand to deploy Silo in different environments.
What Needs Documenting
Server Section
host,port,base_urlbase_urlaffects OIDC callbacks and session cookie settingsDatabase Section
host,port,name,user,passwordsslmodeoptions and when to use eachmax_connectionstuning guidanceSILO_DB_PASSWORDStorage Section (MinIO)
endpoint,access_key,secret_key,bucketuse_sslandregionSILO_MINIO_ACCESS_KEY,SILO_MINIO_SECRET_KEYSchemas Section
directory— path to YAML schema filesdefault— default schema name for part number generationFreeCAD Section
uri_schemeandexecutablepathAuth Section (most complex)
auth.enabled— master toggle, dev mode behavior when falseauth.local— local auth with bcrypt, default admin account setupdefault_admin_username,default_admin_password(env var recommended)auth.ldap— LDAP/FreeIPA configurationurl,base_dn,bind_dn,bind_passworduser_filter,group_filtertls_skip_verify(testing only)role_mapping— group DN to role mappingauth.oidc— OpenID Connect configurationissuer_url,client_id,client_secretredirect_urland how it's derived frombase_urladmin_role,editor_role,default_roleauth.cors— CORS configurationallowed_origins— list of allowed originsEnvironment Variable Overrides
SILO_DB_PASSWORD,SILO_MINIO_ACCESS_KEY,SILO_MINIO_SECRET_KEYSILO_ADMIN_USERNAME,SILO_ADMIN_PASSWORDTasks
docs/CONFIGURATION.mdwith full reference for all config sections