The-DevOps-Daily/pg-wire-mock

Support configuration files (JSON/YAML) in addition to environment variables

Open

#115 geöffnet am 13. Okt. 2025

Auf GitHub ansehen
 (0 Kommentare) (0 Reaktionen) (0 zugewiesene Personen)JavaScript (15 Forks)github user discovery
enhancementhacktoberfest

Repository-Metriken

Stars
 (26 Stars)
PR-Merge-Metriken
 (Keine gemergten PRs in 30 T)

Beschreibung

Goal: Allow users to configure the server via config files for easier complex configuration management.

Features:

  • Support for pg-mock.json and pg-mock.yaml files
  • Hierarchical configuration (file < env vars < CLI args)
  • Configuration validation and helpful error messages
  • Hot-reload support for config file changes
  • Documentation and examples for config file usage

Benefits: Easier management of complex configurations, better version control of settings.

Contributor Guide