Browse Source
docker-compose can not override yarp.json. Maybe use in appsettings json filepull/106/head
2 changed files with 99 additions and 98 deletions
@ -1,100 +1,3 @@ |
|||||
{ |
{ |
||||
"ReverseProxy": { |
|
||||
"Routes": { |
|
||||
"Account Service": { |
|
||||
"ClusterId": "account-cluster", |
|
||||
"Match": { |
|
||||
"Path": "/api/account/{**everything}" |
|
||||
} |
|
||||
}, |
|
||||
"Administration Service": { |
|
||||
"ClusterId": "administration-cluster", |
|
||||
"Match": { |
|
||||
"Path": "/api/abp/{**everything}" |
|
||||
} |
|
||||
}, |
|
||||
"Catalog Service": { |
|
||||
"ClusterId": "catalog-cluster", |
|
||||
"Match": { |
|
||||
"Path": "/api/catalog/{**everything}" |
|
||||
} |
|
||||
}, |
|
||||
"Basket Service": { |
|
||||
"ClusterId": "basket-cluster", |
|
||||
"Match": { |
|
||||
"Path": "/api/basket/{**everything}" |
|
||||
} |
|
||||
}, |
|
||||
"Ordering Service": { |
|
||||
"ClusterId": "ordering-cluster", |
|
||||
"Match": { |
|
||||
"Path": "/api/ordering/{**everything}" |
|
||||
} |
|
||||
}, |
|
||||
"Payment Service": { |
|
||||
"ClusterId": "payment-cluster", |
|
||||
"Match": { |
|
||||
"Path": "/api/payment/{**everything}" |
|
||||
} |
|
||||
}, |
|
||||
"product-picture-route": { |
|
||||
"ClusterId": "product-picture-cluster", |
|
||||
"Match": { |
|
||||
"Path": "/product-images/{**everything}", |
|
||||
"Methods" : [ "GET" ] |
|
||||
} |
|
||||
} |
|
||||
}, |
|
||||
"Clusters": { |
|
||||
"account-cluster": { |
|
||||
"Destinations": { |
|
||||
"destination1": { |
|
||||
"Address": "https://localhost:44330" |
|
||||
} |
|
||||
} |
|
||||
}, |
|
||||
"administration-cluster": { |
|
||||
"Destinations": { |
|
||||
"destination1": { |
|
||||
"Address": "https://localhost:44353" |
|
||||
} |
|
||||
} |
|
||||
}, |
|
||||
"catalog-cluster": { |
|
||||
"Destinations": { |
|
||||
"destination1": { |
|
||||
"Address": "https://localhost:44354" |
|
||||
} |
|
||||
} |
|
||||
}, |
|
||||
"product-picture-cluster": { |
|
||||
"Destinations": { |
|
||||
"destination1": { |
|
||||
"Address": "https://localhost:44354" |
|
||||
} |
|
||||
} |
|
||||
}, |
|
||||
"basket-cluster": { |
|
||||
"Destinations": { |
|
||||
"destination1": { |
|
||||
"Address": "https://localhost:44355" |
|
||||
} |
|
||||
} |
|
||||
}, |
|
||||
"ordering-cluster": { |
|
||||
"Destinations": { |
|
||||
"destination1": { |
|
||||
"Address": "https://localhost:44356" |
|
||||
} |
|
||||
} |
|
||||
}, |
|
||||
"payment-cluster": { |
|
||||
"Destinations": { |
|
||||
"destination1": { |
|
||||
"Address": "https://localhost:44357" |
|
||||
} |
|
||||
} |
|
||||
} |
|
||||
} |
|
||||
} |
|
||||
} |
} |
||||
Loading…
Reference in new issue