container: add proxy target protocol and network mode vars to argspec
This commit is contained in:
@@ -96,6 +96,14 @@ argument_specs:
|
|||||||
description: "The port for http listener inside the container. Will be mapped to the host port defined in ports. Required if reverse_proxy_type is not none."
|
description: "The port for http listener inside the container. Will be mapped to the host port defined in ports. Required if reverse_proxy_type is not none."
|
||||||
type: int
|
type: int
|
||||||
required: false
|
required: false
|
||||||
|
docker_proxy_target_protocol:
|
||||||
|
description: "Protocol to use for proxy connection"
|
||||||
|
type: str
|
||||||
|
required: false
|
||||||
|
choices:
|
||||||
|
- http
|
||||||
|
- https
|
||||||
|
default: http
|
||||||
ports:
|
ports:
|
||||||
description: "ports[docker_service]['http'] or ports[docker_service]['https'] defines the port on which the container will listen on for reverse proxy connections. Required if reverse_proxy_type is caddy."
|
description: "ports[docker_service]['http'] or ports[docker_service]['https'] defines the port on which the container will listen on for reverse proxy connections. Required if reverse_proxy_type is caddy."
|
||||||
type: dict
|
type: dict
|
||||||
@@ -117,6 +125,10 @@ argument_specs:
|
|||||||
type: list
|
type: list
|
||||||
required: false
|
required: false
|
||||||
elements: str
|
elements: str
|
||||||
|
docker_network_mode:
|
||||||
|
description: "Docker container network mode"
|
||||||
|
type: str
|
||||||
|
required: false
|
||||||
timezone:
|
timezone:
|
||||||
description: "Timezone set in the TZ env var"
|
description: "Timezone set in the TZ env var"
|
||||||
type: str
|
type: str
|
||||||
|
|||||||
Reference in New Issue
Block a user