PLEXICHATNarrative Docs

Configuration

Guides, route-group overviews, and live schema entry points for the Plexichat backend.

REST http://api.plexichat.com/api/v1Gateway ws://api.plexichat.com/gatewayVersion a.1.0-49

Configuration Overview

This page covers the backend configuration surface at a high level without prescribing deployment-specific values.

Config Discovery

At startup the backend looks for configuration in this order:

  1. plexichat/config/config.yaml
  2. ~/.plexichat/config/config.yaml
  3. built-in defaults from the application

If no file is present, the server runs with defaults and fills in the rest from code.

Public Runtime Configuration

Not every configuration value should be exposed to clients. For client-safe discovery, use:

  • GET http://api.plexichat.com/api/v1/capabilities
  • GET http://api.plexichat.com/api/v1/version
  • GET http://api.plexichat.com/api/v1/status

These endpoints expose public constants and server state without revealing private secrets.

Major Configuration Areas

AreaPurpose
apiAPI prefix, generated docs paths, CORS, and OpenAPI settings
serverbind address, port, and process behavior
authenticationaccount policy, sessions, 2FA, and login protections
databasepersistence backend and pooling behavior
rate_limitingglobal, user, IP, and route-level request limits
mediaupload rules, attachment processing, and compression
searchsearch backends and public discovery behavior
docscustom docs portal path, theme, and feature flags
voiceICE server exposure and voice signaling configuration
featuresuser tiers, badges, and gated capabilities

Safe Practices

  • keep secrets out of repository-tracked config files
  • validate changes in a non-production environment first
  • prefer capability and health endpoints for runtime verification
  • avoid depending on undocumented defaults when generated OpenAPI already describes a route

Related Pages