container: fix legacy docker_volumes compatibility, add missing arguments to argument specs

This commit is contained in:
uumas
2023-02-07 18:00:06 +02:00
parent 5a20226105
commit 5991385def
5 changed files with 47 additions and 22 deletions

View File

@@ -30,7 +30,7 @@ argument_specs:
choices:
- postgres
- mariadb
- mongodb
- mongo
- none
default: none
databse_passwords:
@@ -47,7 +47,7 @@ argument_specs:
default: []
docker_volume_type:
description: "Defines whether to use named volumes or bind mounts for volume definitions with name"
description: "Defines whether to use named volumes or bind mounts for mounts with name"
type: str
required: false
choices:
@@ -55,7 +55,13 @@ argument_specs:
- bind
default: named
docker_volumes:
description: "List of docker volumes to be mounted inside the container. Each element is a dict with path and exactly one of name, src, template or rclone."
description: "DEPRECATED List of docker volumes to mount inside the container. Use docker_mounts instead. DEPRECATED"
type: list
required: false
default: []
elements: str
docker_mounts:
description: "List of bind mounts or volumes to be mounted inside the container. Each element is a dict with path and exactly one of name, src or template"
type: list
required: false
default: []
@@ -77,10 +83,6 @@ argument_specs:
description: "Name of template without .j2 extension. Will be templated at /opt/<service>[/suffix]/mounts/<template> and mounted inside the container."
type: str
required: false
rclone:
description: "Name of the rclone volume to mount. Must be defined using the rclone_config variable."
type: str
required: false
reverse_proxy_type:
description: "Defines which kind of reverse proxy to configure for the container. Traefik support is experimental."
type: str
@@ -100,9 +102,18 @@ argument_specs:
required: false
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_published_ports:
description: "A list of published ports in docker format (<host listen address>:<host port>:<container port>)"
type: list
required: false
default: []
docker_env:
description: "A dict of environment variables for the container"
type: dict
required: false
default: {}
docker_entrypoint:
description: "Docker entrypoint as list of command and arguments"
type: list
required: false
elements: str