exercises

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

config.toml (921B)


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