Skip to content

Commit

Permalink
Enable container metadata so that containers can get host IP address …
Browse files Browse the repository at this point in the history
…to communicate with service-daemon ddagent
  • Loading branch information
showwin committed Oct 31, 2023
1 parent e6d44ff commit db3fba0
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion app/services/apply_district.rb
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,8 @@ def ecs_config
"ECS_RESERVED_MEMORY" => 256,
"ECS_CONTAINER_STOP_TIMEOUT" => "5m",
"ECS_ENABLE_TASK_IAM_ROLE" => "true",
"ECS_ENABLE_TASK_IAM_ROLE_NETWORK_HOST" => "true"
"ECS_ENABLE_TASK_IAM_ROLE_NETWORK_HOST" => "true",
"ECS_ENABLE_CONTAINER_METADATA" => "true"
}

if district.dockercfg.present?
Expand Down

0 comments on commit db3fba0

Please sign in to comment.