From 851504030a27b67e7d44d6184053a9ee0b488c76 Mon Sep 17 00:00:00 2001 From: uumas Date: Tue, 18 Apr 2023 19:37:57 +0300 Subject: [PATCH] container: add proxy target protocol and network mode vars to argspec --- roles/container/meta/argument_specs.yml | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/roles/container/meta/argument_specs.yml b/roles/container/meta/argument_specs.yml index b105994..368bbce 100644 --- a/roles/container/meta/argument_specs.yml +++ b/roles/container/meta/argument_specs.yml @@ -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