config.toml (494B)
1 # Orders Service Configuration 2 3 [server] 4 # Server port 5 port = 3003 6 7 [database] 8 # PostgreSQL connection URL (port 5433 because of Docker mapping) 9 url = "postgres://opentel_user:opentel_pass@localhost:5433/opentel_db" 10 # Maximum number of connections in the pool 11 max_connections = 5 12 13 [services] 14 # Products Service 15 products_host = "localhost" 16 products_port = 3001 17 18 # Inventory Service 19 inventory_host = "localhost" 20 inventory_port = 3002 21 22 [http_client] 23 # Request timeout in seconds 24 timeout_secs = 30