Skip to content

Commit

Permalink
Merge pull request #5 from brucehoff/prod
Browse files Browse the repository at this point in the history
IT-4010 deploy dev to prod
  • Loading branch information
brucehoff authored Nov 13, 2024
2 parents 9c74824 + 422b694 commit 00ee22f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docker_fargate/docker_fargate_stack.py
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ def __init__(self, scope: Construct, context: str, env: dict, vpc: ec2.Vpc, **kw
f'{stack_prefix}-Service',
cluster=cluster, # Required
cpu=256, # Default is 256
desired_count=1, # Number of copies of the 'task' (i.e. the app') running behind the ALB
desired_count=2, # Number of copies of the 'task' (i.e. the app') running behind the ALB
circuit_breaker=ecs.DeploymentCircuitBreaker(rollback=True), # Enable rollback on deployment failure
task_image_options=task_image_options,
memory_limit_mib=1024, # Default is 512
Expand All @@ -147,7 +147,7 @@ def __init__(self, scope: Construct, context: str, env: dict, vpc: ec2.Vpc, **kw
)

scalable_target = load_balanced_fargate_service.service.auto_scale_task_count(
min_capacity=1, # Minimum capacity to scale to. Default: 1
min_capacity=2, # Minimum capacity to scale to. Default: 1
max_capacity=4 # Maximum capacity to scale to.
)

Expand Down

0 comments on commit 00ee22f

Please sign in to comment.