Updated tye yaml
This commit is contained in:
		
							parent
							
								
									0a66edc61b
								
							
						
					
					
						commit
						c10b4ac934
					
				| @ -28,16 +28,17 @@ static_resources: | |||||||
|                   prefix: "/m/" |                   prefix: "/m/" | ||||||
|                 route: |                 route: | ||||||
|                   auto_host_rewrite: true |                   auto_host_rewrite: true | ||||||
|                   prefix_rewrite: "/marketing-api/" |                   prefix_rewrite: "/" | ||||||
|                   cluster: marketing |                   cluster: marketing | ||||||
|               - name: "m-long" |               - name: "m-long" | ||||||
|                 match: |                 match: | ||||||
|                   prefix: "/marketing-api/" |                   prefix: "/marketing-api/" | ||||||
|                 route: |                 route: | ||||||
|                   auto_host_rewrite: true |                   auto_host_rewrite: true | ||||||
|  |                   prefix_rewrite: "/" | ||||||
|                   cluster: marketing |                   cluster: marketing | ||||||
|           http_filters: |           http_filters: | ||||||
|           - name: envoy.router   |           - name: envoy.router       | ||||||
|           access_log: |           access_log: | ||||||
|           - name: envoy.file_access_log |           - name: envoy.file_access_log | ||||||
|             filter: |             filter: | ||||||
| @ -54,22 +55,22 @@ static_resources: | |||||||
|                 route_name: "%ROUTE_NAME%" |                 route_name: "%ROUTE_NAME%" | ||||||
|                 upstream_host: "%UPSTREAM_HOST%" |                 upstream_host: "%UPSTREAM_HOST%" | ||||||
|                 upstream_cluster: "%UPSTREAM_CLUSTER%" |                 upstream_cluster: "%UPSTREAM_CLUSTER%" | ||||||
|                 upstream_local_address: "%UPSTREAM_LOCAL_ADDRESS%"     |                 upstream_local_address: "%UPSTREAM_LOCAL_ADDRESS%"      | ||||||
|               path: "/tmp/access.log"                  |               path: "/tmp/access.log" | ||||||
|   clusters: |   clusters: | ||||||
|   - name: marketing |   - name: marketing | ||||||
|     connect_timeout: 0.25s |     connect_timeout: 0.25s | ||||||
|     type: logical_dns |     type: strict_dns | ||||||
|     lb_policy: round_robin |     lb_policy: round_robin | ||||||
|     hosts: |     hosts: | ||||||
|     - socket_address: |     - socket_address: | ||||||
|         address: marketing-api |         address: host.docker.internal | ||||||
|         port_value: 80 |         port_value: 5110  | ||||||
|   - name: locations |   - name: locations | ||||||
|     connect_timeout: 0.25s |     connect_timeout: 0.25s | ||||||
|     type: logical_dns |     type: strict_dns | ||||||
|     lb_policy: round_robin |     lb_policy: round_robin | ||||||
|     hosts: |     hosts: | ||||||
|     - socket_address: |     - socket_address: | ||||||
|         address: locations-api |         address: host.docker.internal | ||||||
|         port_value: 80 |         port_value: 80 | ||||||
|  | |||||||
| @ -28,7 +28,7 @@ static_resources: | |||||||
|                   prefix: "/c/" |                   prefix: "/c/" | ||||||
|                 route: |                 route: | ||||||
|                   auto_host_rewrite: true |                   auto_host_rewrite: true | ||||||
|                   prefix_rewrite: "/catalog-api/" |                   prefix_rewrite: "/" | ||||||
|                   cluster: catalog |                   cluster: catalog | ||||||
|               - name: "c-long" |               - name: "c-long" | ||||||
|                 match: |                 match: | ||||||
| @ -41,7 +41,7 @@ static_resources: | |||||||
|                   prefix: "/o/" |                   prefix: "/o/" | ||||||
|                 route: |                 route: | ||||||
|                   auto_host_rewrite: true |                   auto_host_rewrite: true | ||||||
|                   prefix_rewrite: "/ordering-api/" |                   prefix_rewrite: "/" | ||||||
|                   cluster: ordering |                   cluster: ordering | ||||||
|               - name: "o-long" |               - name: "o-long" | ||||||
|                 match: |                 match: | ||||||
| @ -61,7 +61,7 @@ static_resources: | |||||||
|                   prefix: "/b/" |                   prefix: "/b/" | ||||||
|                 route: |                 route: | ||||||
|                   auto_host_rewrite: true |                   auto_host_rewrite: true | ||||||
|                   prefix_rewrite: "/basket-api/" |                   prefix_rewrite: "/" | ||||||
|                   cluster: basket |                   cluster: basket | ||||||
|               - name: "b-long" |               - name: "b-long" | ||||||
|                 match: |                 match: | ||||||
| @ -103,37 +103,37 @@ static_resources: | |||||||
|     lb_policy: round_robin |     lb_policy: round_robin | ||||||
|     hosts: |     hosts: | ||||||
|     - socket_address: |     - socket_address: | ||||||
|         address: webshoppingagg |         address: host.docker.internal | ||||||
|         port_value: 80 |         port_value: 5121 | ||||||
|   - name: catalog |   - name: catalog | ||||||
|     connect_timeout: 0.25s |     connect_timeout: 0.25s | ||||||
|     type: strict_dns |     type: strict_dns | ||||||
|     lb_policy: round_robin |     lb_policy: round_robin | ||||||
|     hosts: |     hosts: | ||||||
|     - socket_address: |     - socket_address: | ||||||
|         address: catalog-api |         address: host.docker.internal | ||||||
|         port_value: 80 |         port_value: 5101 | ||||||
|   - name: basket |   - name: basket | ||||||
|     connect_timeout: 0.25s |     connect_timeout: 0.25s | ||||||
|     type: strict_dns |     type: strict_dns | ||||||
|     lb_policy: round_robin |     lb_policy: round_robin | ||||||
|     hosts: |     hosts: | ||||||
|     - socket_address: |     - socket_address: | ||||||
|         address: basket-api |         address: host.docker.internal | ||||||
|         port_value: 80 |         port_value: 5103 | ||||||
|   - name: ordering |   - name: ordering | ||||||
|     connect_timeout: 0.25s |     connect_timeout: 0.25s | ||||||
|     type: strict_dns |     type: strict_dns | ||||||
|     lb_policy: round_robin |     lb_policy: round_robin | ||||||
|     hosts: |     hosts: | ||||||
|     - socket_address: |     - socket_address: | ||||||
|         address: ordering-api |         address: host.docker.internal | ||||||
|         port_value: 80 |         port_value: 5102 | ||||||
|   - name: signalr-hub |   - name: signalr-hub | ||||||
|     connect_timeout: 0.25s |     connect_timeout: 0.25s | ||||||
|     type: strict_dns |     type: strict_dns | ||||||
|     lb_policy: round_robin |     lb_policy: round_robin | ||||||
|     hosts: |     hosts: | ||||||
|     - socket_address: |     - socket_address: | ||||||
|         address: ordering-signalrhub |         address: host.docker.internal | ||||||
|         port_value: 80 |         port_value: 5112 | ||||||
|  | |||||||
							
								
								
									
										51
									
								
								src/tye.yaml
									
									
									
									
									
								
							
							
						
						
									
										51
									
								
								src/tye.yaml
									
									
									
									
									
								
							| @ -1,15 +1,6 @@ | |||||||
| name: eshoponcontainers-servicesandwebapps | name: eshoponcontainers-servicesandwebapps | ||||||
| services: | services: | ||||||
| 
 | 
 | ||||||
| - name: seq |  | ||||||
|   image: datalust/seq:latest |  | ||||||
|   bindings: |  | ||||||
|   - port: 5340 |  | ||||||
|     containerPort: 80 |  | ||||||
|   env: |  | ||||||
|   - name: ACCEPT_EULA |  | ||||||
|     value: Y |  | ||||||
| 
 |  | ||||||
| - name: sqldata | - name: sqldata | ||||||
|   image: mcr.microsoft.com/mssql/server:2017-latest |   image: mcr.microsoft.com/mssql/server:2017-latest | ||||||
|   bindings: |   bindings: | ||||||
| @ -30,7 +21,7 @@ services: | |||||||
|   - port: 27017 |   - port: 27017 | ||||||
|     containerPort: 27017 |     containerPort: 27017 | ||||||
|   volumes: |   volumes: | ||||||
|     - source: eshop-nosqldata-three |     - source: eshop-nosqldata-four | ||||||
|       target: /data/db |       target: /data/db | ||||||
| 
 | 
 | ||||||
| - name: basketdata | - name: basketdata | ||||||
| @ -51,7 +42,16 @@ services: | |||||||
|   - name: amqp-binding |   - name: amqp-binding | ||||||
|     port: 5672 |     port: 5672 | ||||||
|     containerPort: 5672 |     containerPort: 5672 | ||||||
|      | 
 | ||||||
|  | - name: seq | ||||||
|  |   image: datalust/seq:latest | ||||||
|  |   bindings: | ||||||
|  |   - port: 5340 | ||||||
|  |     containerPort: 80 | ||||||
|  |   env: | ||||||
|  |   - name: ACCEPT_EULA | ||||||
|  |     value: Y | ||||||
|  | 
 | ||||||
| - name: identity-api | - name: identity-api | ||||||
|   project: Services/Identity/Identity.API/Identity.API.csproj |   project: Services/Identity/Identity.API/Identity.API.csproj | ||||||
|   env: |   env: | ||||||
| @ -651,6 +651,8 @@ services: | |||||||
|     value: http://localhost:5100/ |     value: http://localhost:5100/ | ||||||
|   - name: LocationsUrl |   - name: LocationsUrl | ||||||
|     value: http://localhost:5109/ |     value: http://localhost:5109/ | ||||||
|  |   - name: SignalrHubUrl | ||||||
|  |     value: http://localhost:5202 | ||||||
|   - name: IdentityUrlHC |   - name: IdentityUrlHC | ||||||
|     value: http://localhost:5105/hc |     value: http://localhost:5105/hc | ||||||
|   - name: IsClusterEnv |   - name: IsClusterEnv | ||||||
| @ -678,6 +680,33 @@ services: | |||||||
|     port: 5100 |     port: 5100 | ||||||
|     protocol: http |     protocol: http | ||||||
| 
 | 
 | ||||||
|  | - name: webspa | ||||||
|  |   project: Web/WebSPA/WebSPA.csproj | ||||||
|  |   env: | ||||||
|  |   - name: ASPNETCORE_ENVIRONMENT | ||||||
|  |     value: Development | ||||||
|  |   - name: ASPNETCORE_URLS | ||||||
|  |     value: http://0.0.0.0:80 | ||||||
|  |   - name: IdentityUrl | ||||||
|  |     value: http://localhost:5105 | ||||||
|  |   - name: PurchaseUrl | ||||||
|  |     value: http://localhost:5202 | ||||||
|  |   - name: MarketingUrl | ||||||
|  |     value: http://localhost:5203 | ||||||
|  |   - name: IdentityUrlHC | ||||||
|  |     value: http://localhost:5105/hc | ||||||
|  |   - name: UseCustomizationData | ||||||
|  |     value: True | ||||||
|  |   - name: ApplicationInsights__InstrumentationKey | ||||||
|  |     value:  | ||||||
|  |   - name: OrchestratorType | ||||||
|  |     value: | ||||||
|  |   - name: SignalrHubUrl | ||||||
|  |     value: http://localhost:5202 | ||||||
|  |   bindings: | ||||||
|  |   - name: http-port-80-binding | ||||||
|  |     port: 5104 | ||||||
|  |     protocol: http | ||||||
| 
 | 
 | ||||||
| - name: webhooks-client | - name: webhooks-client | ||||||
|   project: Web/WebhookClient/WebhookClient.csproj |   project: Web/WebhookClient/WebhookClient.csproj | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user