exercises

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

config.docker.toml (905B)


      1 # OtelMart Service Configuration for Docker
      2 
      3 [server]
      4 # Server port
      5 port = 4200
      6 # Static files directory (Angular build output)
      7 static_dir = "./dist/otelmart-app/browser"
      8 
      9 [database]
     10 # PostgreSQL connection URL
     11 url = "postgres://opentel_user:opentel_pass@postgres:5432/opentel_db"
     12 # Maximum number of connections in the pool
     13 max_connections = 5
     14 
     15 [services]
     16 # Products Service
     17 products_host = "products"
     18 products_port = 3001
     19 
     20 # Inventory Service
     21 inventory_host = "inventory"
     22 inventory_port = 3002
     23 
     24 # Orders Service
     25 orders_host = "orders"
     26 orders_port = 3003
     27 
     28 # Checkout Service (deprecated)
     29 checkout_host = "host.docker.internal"
     30 checkout_port = 3003
     31 
     32 # Legacy URLs (for backward compatibility)
     33 inventory_service_url = "http://inventory:3002"
     34 orders_service_url = "http://orders:3003"
     35 
     36 [http_client]
     37 # Request timeout in seconds
     38 timeout_secs = 30
     39 
     40 [session]
     41 # Session expiration in days
     42 expiration_days = 7