Skip to content
This repository was archived by the owner on Mar 27, 2023. It is now read-only.

Commit 6c88c10

Browse files
committed
debugging flower
1 parent e0a134a commit 6c88c10

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

awscdk/awscdk/flower.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,9 @@ def __init__(self, scope: core.Construct, id: str, **kwargs,) -> None:
3939
)
4040

4141
self.flower_task.add_container(
42-
"FlowerProxyContainer", image=ecs.AssetImage("./nginx/flowerproxy")
42+
"FlowerProxyContainer",
43+
# image=ecs.AssetImage("./nginx/flowerproxy"),
44+
image=ecs.ContainerImage.from_registry("nginx"),
4345
)
4446

4547
port_mapping = ecs.PortMapping(
@@ -67,6 +69,6 @@ def __init__(self, scope: core.Construct, id: str, **kwargs,) -> None:
6769
priority=1,
6870
path_patterns=["/flower/*", "/flower*"],
6971
health_check=elbv2.HealthCheck(
70-
healthy_http_codes="200-401", path="/flower"
72+
healthy_http_codes="200-404", path="/flower"
7173
),
7274
)

0 commit comments

Comments
 (0)