31 lines
1.0 KiB
YAML
31 lines
1.0 KiB
YAML
---
|
|
argument_specs:
|
|
main:
|
|
description: >-
|
|
Sets up a caddy container and a systemd socket unit, forwarding traffic from it to
|
|
target container
|
|
options:
|
|
caddy_socket_proxy_service_name:
|
|
description: Name of the caddy service, used for systemd unit and container naming
|
|
type: str
|
|
required: true
|
|
caddy_socket_proxy_target_container:
|
|
description: Name of the container to forward traffic to
|
|
type: str
|
|
required: false
|
|
default: "{{ caddy_socket_proxy_service_name }}"
|
|
caddy_socket_proxy_target_http_port:
|
|
description: Port on the target container to forward traffic to
|
|
type: int
|
|
required: true
|
|
caddy_socket_proxy_container_ip:
|
|
description: IP address to assign to the caddy container.
|
|
type: str
|
|
required: false
|
|
default: ""
|
|
caddy_socket_proxy_auto_update:
|
|
description: Whether to automatically update the caddy container
|
|
type: bool
|
|
required: false
|
|
default: true
|