Skip to content

Commit 6979121

Browse files
committed
Update documentation
1 parent 2a8b37f commit 6979121

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

website/content/docs/job-specification/service.mdx

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -150,6 +150,8 @@ service mesh][connect] integration.
150150
If a `to` value is not set, the port falls back to using the allocated host port. The `port`
151151
field may be a numeric port or a port label specified in the same group's network block.
152152

153+
- `alloc_ipv6` - Same as `alloc` but use the IPv6 address in case of dual-stack or IPv6-only.
154+
153155
- `driver` - Advertise the port determined by the driver (e.g. Docker).
154156
The `port` may be a numeric port or a port label specified in the driver's
155157
`ports` field.
@@ -190,7 +192,7 @@ service mesh][connect] integration.
190192
- `tagged_addresses` `(map<string|string>` - Specifies custom [tagged addresses][tagged_addresses] to
191193
advertise in the Consul service registration. Only available where `provider = "consul"`.
192194

193-
- `address_mode` `(string: "auto")` - Specifies which address (host, alloc or
195+
- `address_mode` `(string: "auto")` - Specifies which address (host, alloc, alloc_ipv6 or
194196
driver-specific) this service should advertise. See [below for
195197
examples.](#using-driver-address-mode) Valid options are:
196198

@@ -200,6 +202,9 @@ service mesh][connect] integration.
200202
where no port mapping is necessary. This mode can only be set for services which
201203
are defined in a "group" block.
202204

205+
- `alloc_ipv6` - Identical as `alloc` but will pick the IPv6 address in case of
206+
dual-stack or IPv6 only.
207+
203208
- `auto` - Allows the driver to determine whether the host or driver address
204209
should be used. Defaults to `host` and only implemented by Docker. If you
205210
use a Docker network plugin such as weave, Docker will automatically use

0 commit comments

Comments
 (0)