when configuring a Fargate service in pulumi where...
# general
m
when configuring a Fargate service in pulumi where can you configure container port if it is not 80 ?
Copy code
const alb = new awsx.elasticloadbalancingv2.ApplicationLoadBalancer(
    "net-lb",
    {
      external: true,
      securityGroups: cluster.securityGroups
    }
  );

  const web = alb.createListener("web", { port: 80, external: true });
  
  // Step 4: Create a Fargate service task that can scale out.
  const appService = new awsx.ecs.FargateService("scolasticus_api", {
    cluster,
    taskDefinitionArgs: {
      container: {
        image: "scolasticus_api",
        cpu: 256 /*10% of 1024*/,
        memory: 256 /*MB*/,
        portMappings: [web]
      }
    },
    desiredCount: 1
  });