|
|
@ -168,6 +168,8 @@ foreach($yaml in (Get-ChildItem -Path $Stacks -Include 'docker-compose.yml' -Rec |
|
|
|
'--to-destination','"{0}:{1}"' -f $ingress_address,$nat.published_port |
|
|
|
) |
|
|
|
Add-IptablesRule -Chain $Chain -Rule $rule |
|
|
|
} else { |
|
|
|
Write-Output ('No additional rule needed for {0}:{1}' -f $nat.ip,$nat.port) |
|
|
|
} |
|
|
|
} |
|
|
|
} |