Add the Network option

This commit is contained in:
Traci Morrison 2019-10-29 15:56:04 -04:00
parent 13e226f2ac
commit f83911384c
1 changed files with 2 additions and 0 deletions

View File

@ -94,6 +94,7 @@ Interlock must contain at least one extension to service traffic. The following
| `Labels` | map[string]string | Labels to add to the extension service |
| `ContainerLabels` | map[string]string | Labels to be added to the extension service tasks |
| `Constraints` | []string | One or more [constraints](https://docs.docker.com/engine/reference/commandline/service_create/#specify-service-constraints-constraint) to use when scheduling the extension service |
|`Network` | string | Allows the administrator to cherry-pick a list of networks that Interlock can connect to. If this option is not specified, the proxy-service can connect to all networks. |
| `PlacementPreferences` | []string | One or more [placement prefs](https://docs.docker.com/engine/reference/commandline/service_create/#specify-service-placement-preferences-placement-pref) to use when scheduling the extension service |
| `ServiceName` | string | Name of the extension service |
| `ProxyImage` | string | Name of the Docker Image to use for the proxy service |
@ -191,6 +192,7 @@ PollInterval = "3s"
PublishMode = "ingress"
PublishedPort = 80
ProxyReplicas = 1
Networks = ["testNet1", "testNet2"]
TargetPort = 80
PublishedSSLPort = 443
TargetSSLPort = 443