update cdk code

This commit is contained in:
nsxshota 2023-11-21 15:24:03 +09:00
commit 078951fc9d
4 changed files with 15 additions and 7 deletions

View file

@ -60,15 +60,16 @@ export class FrontEndCluster extends Construct {
{
containerPort: containerPort,
protocol: ecs.Protocol.TCP,
appProtocol:ecs.AppProtocol.http,
},
],
});
const frontendServiceName = 'langflow-frontend-service'
const frontendServiceName = 'frontend'
const frontendService = new ecs.FargateService(
this,
'FrontendService',
{
serviceName: 'langflow-frontend-service',
serviceName: frontendServiceName,
cluster: props.cluster,
desiredCount: 1,
assignPublicIp: false,