exercises

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README

config.docker.toml (591B)


      1 # Orders Service Configuration for Docker
      2 
      3 [server]
      4 # Server port
      5 port = 3003
      6 
      7 [database]
      8 # PostgreSQL connection URL (using postgres service name in docker-compose)
      9 url = "postgres://opentel_user:opentel_pass@postgres:5432/opentel_db"
     10 # Maximum number of connections in the pool
     11 max_connections = 5
     12 
     13 [services]
     14 # Products Service (using service name in docker-compose)
     15 products_host = "products"
     16 products_port = 3001
     17 
     18 # Inventory Service (using service name in docker-compose)
     19 inventory_host = "inventory"
     20 inventory_port = 3002
     21 
     22 [http_client]
     23 # Request timeout in seconds
     24 timeout_secs = 30