Fixes: - Added database connection logging with masked DSN - Added migration progress logging - Added HTTP server startup logging with address - Fixed database provider to accept logger parameter - Improved error visibility throughout initialization Documentation: - Moved Story 1.7 (Service Client Interfaces) to Epic 2 as Story 2.7 - Updated Epic 1 and Epic 2 READMEs - Updated COMPLETE_TASK_LIST.md - Updated story metadata (ID, Epic, Dependencies) These changes will help diagnose startup issues and provide better visibility into what the application is doing.
27 lines
476 B
YAML
27 lines
476 B
YAML
environment: development
|
|
|
|
server:
|
|
port: 8080
|
|
host: "0.0.0.0"
|
|
read_timeout: 30s
|
|
write_timeout: 30s
|
|
|
|
database:
|
|
driver: "postgres"
|
|
dsn: "postgres://goplt:goplt_password@localhost:5432/goplt?sslmode=disable"
|
|
max_connections: 25
|
|
max_idle_connections: 5
|
|
conn_max_lifetime: 5m
|
|
conn_max_idle_time: 10m
|
|
|
|
logging:
|
|
level: "info"
|
|
format: "json"
|
|
output: "stdout"
|
|
|
|
tracing:
|
|
enabled: true
|
|
service_name: "platform"
|
|
service_version: "1.0.0"
|
|
otlp_endpoint: ""
|