Configuration Reference

Common environment variables used by all 27 Autional microservices (the full set is defined in each service's configs/service/*.yaml). Override them in .env.

VariableDescriptionRequiredDefault
JWT_SECRETToken signing key (min 32 chars)Yes—
PASSWORD_PEPPERPepper for argon2id password hashingYes—
INTERNAL_API_KEYService-to-service authentication keyYes—
POSTGRES_HOSTPostgreSQL hostnameYeslocalhost
POSTGRES_PORTPostgreSQL portNo5432
POSTGRES_USERPostgreSQL userYesauthuser
POSTGRES_PASSWORDPostgreSQL passwordYesauthpassword
REDIS_HOSTRedis hostnameNolocalhost
REDIS_PORTRedis portNo6379
REDIS_PASSWORDRedis passwordNo
RABBITMQ_HOSTRabbitMQ hostnameNolocalhost
RABBITMQ_PORTRabbitMQ portNo5672
RABBITMQ_USERRabbitMQ userNoadmin
RABBITMQ_PASSWORDRabbitMQ passwordNoadminpassword
APP_ENVRuntime environment: development | productionNodevelopment
AUDIT_MONGODB_HOSTMongoDB hostname (audit service)Nolocalhost
AUDIT_MONGODB_PORTMongoDB port (audit service)No27017
MINIO_ENDPOINTMinIO/S3 endpoint (storage service)No—

Configuration Files

Each service reads YAML config from configs/service/{name}.yaml; database-related settings live in configs/service/{name}.gorm.yaml. View all config files:

# configs/service/ directory contains:
configs/service/identity-service.yaml
configs/service/identity-service.gorm.yaml
configs/service/mfa-service.yaml
...