PoCAT Documentation Get Started

Environment-specific Configs

Base + environment override layout and release checklist.

Last updated: 2026-05-27 Section: Configuration

The goal is one binary, per-environment overrides—trackable by diff without code branches.

Recommended directory layout

config/
  base/
    gateway-config.xml
    routes.xml
    filters.xml
  env/
    dev/overrides.xml
    stg/overrides.xml
    prod/overrides.xml

Required separation

  • Endpoint URL, timeout, retry
  • Secrets, tokens, certificates (vault integration)
  • Log level and sampling rate
  • Feature flag

Release checklist

CheckCriteria
Secrets in repo0
Environment diff approval2+ reviewers
Rollback artifactKeep prior revision