Preview:
ocelotapigw:
    container_name: ocelotapigw
    environment:
      - ASPNETCORE_ENVIRONMENT=Development
    depends_on: 
      - catalog.api
      - discount.api
      - basket.api
      - ordering.api
    ports:
      - "8010:80"

ordering.api:
  container_name: ordering.api
  environment:
    - ASPNETCORE_ENVIRONMENT=Development
    - "ConnectionStrings: OrderingConnectionString=Server=orderDB;Database=OrderDb;User Id=sa;Password=SwN12345678; TrustServerCertificate=True"
    - "EventBusSettings:HostAddress=amqp://guest:guest@localhost:5672"
  depends_on: 
    - orderdb
    - rabbitmq
  ports:
    - "8004:80"
downloadDownload PNG downloadDownload JPEG downloadDownload SVG

Tip: You can change the style, width & colours of the snippet with the inspect tool before clicking Download!

Click to optimize width for Twitter