container: add proxy target protocol and network mode vars to argspec

This commit is contained in:
uumas
2023-04-18 19:37:57 +03:00
parent 6fb2e23151
commit 851504030a

View File

@@ -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."
type: int
required: false
docker_proxy_target_protocol:
description: "Protocol to use for proxy connection"
type: str
required: false
choices:
- http
- https
default: http
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."
type: dict
@@ -117,6 +125,10 @@ argument_specs:
type: list
required: false
elements: str
docker_network_mode:
description: "Docker container network mode"
type: str
required: false
timezone:
description: "Timezone set in the TZ env var"
type: str