service: Add docker_vhost_additional_locations
This commit is contained in:
@@ -3,11 +3,11 @@
|
||||
namespace: uumas
|
||||
name: docker
|
||||
description: Roles for installing services in docker containers
|
||||
version: 0.9.0
|
||||
version: 0.9.1
|
||||
readme: README.md
|
||||
repository: https://git.uumas.fi/uumas/ansible-docker
|
||||
license_file: LICENSE
|
||||
dependencies:
|
||||
uumas.general: '>=0.5.9'
|
||||
uumas.general: '>=0.5.13'
|
||||
authors:
|
||||
- uumas
|
||||
|
||||
@@ -74,6 +74,9 @@ argument_specs:
|
||||
docker_vhost_domains:
|
||||
description: "Passed to container role"
|
||||
required: false
|
||||
docker_vhost_additional_locations:
|
||||
description: "Passed to container role"
|
||||
required: false
|
||||
docker_entrypoint:
|
||||
description: "Passed to container role"
|
||||
required: false
|
||||
|
||||
@@ -33,6 +33,9 @@ argument_specs:
|
||||
docker_vhost_domains:
|
||||
description: "Passed to container role"
|
||||
required: false
|
||||
docker_vhost_additional_locations:
|
||||
description: "Passed to container role"
|
||||
required: false
|
||||
docker_entrypoint:
|
||||
description: "Passed to container role"
|
||||
required: false
|
||||
|
||||
@@ -43,6 +43,9 @@ argument_specs:
|
||||
docker_vhost_domains:
|
||||
description: "Passed to container role"
|
||||
required: false
|
||||
docker_vhost_additional_locations:
|
||||
description: "Passed to container role"
|
||||
required: false
|
||||
docker_entrypoint:
|
||||
description: "Passed to container role"
|
||||
required: false
|
||||
|
||||
@@ -36,15 +36,9 @@ argument_specs:
|
||||
docker_volume_type:
|
||||
description: "Passed to container role"
|
||||
required: false
|
||||
reverse_proxy_type:
|
||||
description: "Passed to container role"
|
||||
required: false
|
||||
ports:
|
||||
description: "Passed to container role"
|
||||
required: false
|
||||
docker_vhost_domains:
|
||||
description: "Passed to container role"
|
||||
required: false
|
||||
docker_entrypoint:
|
||||
description: "Passed to container role"
|
||||
required: false
|
||||
|
||||
@@ -40,6 +40,9 @@ argument_specs:
|
||||
docker_vhost_domains:
|
||||
description: "Passed to container role"
|
||||
required: false
|
||||
docker_vhost_additional_locations:
|
||||
description: "Passed to container role"
|
||||
required: false
|
||||
docker_entrypoint:
|
||||
description: "Passed to container role"
|
||||
required: false
|
||||
|
||||
@@ -88,4 +88,6 @@ argument_specs:
|
||||
docker_entrypoint:
|
||||
description: "Passed to container role"
|
||||
required: false
|
||||
|
||||
docker_vhost_additional_locations:
|
||||
description: "Passed to container role"
|
||||
required: false
|
||||
|
||||
@@ -144,6 +144,9 @@ argument_specs:
|
||||
docker_vhost_domains:
|
||||
description: "Passed to container role"
|
||||
required: false
|
||||
docker_vhost_additional_locations:
|
||||
description: "Passed to container role"
|
||||
required: false
|
||||
docker_entrypoint:
|
||||
description: "Passed to container role"
|
||||
required: false
|
||||
|
||||
@@ -168,6 +168,9 @@ argument_specs:
|
||||
docker_vhost_domains:
|
||||
description: "docker_vhost_domains[docker_service] is a list which defines which domains should be proxied to the container. Required if reverse_proxy_type is not none. docker_vhost_domains[docker_service + '-phpmyadmin'] is used for phpmyadmin"
|
||||
type: dict
|
||||
docker_vhost_additional_locations:
|
||||
description: "Passed to vhost role as vhost_locations variable"
|
||||
required: false
|
||||
docker_published_ports:
|
||||
description: "A list of published ports in docker format (<host listen address>:<host port>:<container port>)"
|
||||
type: list
|
||||
|
||||
@@ -17,6 +17,7 @@
|
||||
vhost_proxy_target_protocol: "{{ docker_proxy_target_protocol }}"
|
||||
vhost_domains: "{{ docker_vhost_domains[docker_service_name] }}"
|
||||
vhost_proxy_target_port: "{{ ports[docker_service_name][vhost_proxy_target_protocol] }}"
|
||||
vhost_locations: "{{ docker_vhost_additional_locations }}"
|
||||
when: reverse_proxy_type != 'traefik'
|
||||
|
||||
- name: Set published ports variable to http port
|
||||
|
||||
Reference in New Issue
Block a user