Generalize alpine argument_specs
This commit is contained in:
@@ -8,53 +8,32 @@ argument_specs:
|
|||||||
|
|
||||||
# All options after this will be passed directly to the container role
|
# All options after this will be passed directly to the container role
|
||||||
docker_service_suffix:
|
docker_service_suffix:
|
||||||
description: "A suffix used to allow running multiple instances of the same service on a host. If docker_service is gitea and docker_service_suffix production, the container will be gitea_production"
|
description: "Passed to container role"
|
||||||
type: str
|
|
||||||
required: false
|
required: false
|
||||||
docker_host_user:
|
docker_host_user:
|
||||||
description: "If true, creates a user on the host for this service. The container will run as this user's uid/gid. Bind mount volumes will be owned by this user."
|
description: "Passed to container role"
|
||||||
type: bool
|
|
||||||
required: false
|
required: false
|
||||||
default: true
|
|
||||||
|
|
||||||
databse_passwords:
|
databse_passwords:
|
||||||
description: "database_passwords[docker_service] is a string with the password used for communication between the service and database. Required if docker_database is postgres or mariadb"
|
description: "Passed to container role"
|
||||||
type: dict
|
|
||||||
required: false
|
required: false
|
||||||
docker_additional_services:
|
docker_additional_services:
|
||||||
description: "List of additional services to configure (in separate containers). These will be accessible with hostname <docker_service_name>[_suffix]_<additional_service>"
|
description: "Passed to container role"
|
||||||
type: list
|
|
||||||
required: false
|
required: false
|
||||||
elements: str
|
|
||||||
choices:
|
|
||||||
- memcached
|
|
||||||
default: []
|
|
||||||
|
|
||||||
docker_volume_type:
|
docker_volume_type:
|
||||||
description: "Defines whether to use named volumes or bind mounts for mounts with name"
|
description: "Passed to container role"
|
||||||
type: str
|
|
||||||
required: false
|
required: false
|
||||||
choices:
|
|
||||||
- named
|
|
||||||
- bind
|
|
||||||
default: named
|
|
||||||
reverse_proxy_type:
|
reverse_proxy_type:
|
||||||
description: "Defines which kind of reverse proxy to configure for the container. Traefik support is experimental."
|
description: "Passed to container role"
|
||||||
type: str
|
|
||||||
required: false
|
required: false
|
||||||
choices:
|
|
||||||
- caddy
|
|
||||||
- traefik
|
|
||||||
- none
|
|
||||||
default: caddy
|
|
||||||
ports:
|
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."
|
description: "Passed to container role"
|
||||||
type: dict
|
|
||||||
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"
|
|
||||||
type: dict
|
|
||||||
docker_entrypoint:
|
|
||||||
description: "Docker entrypoint as list of command and arguments"
|
|
||||||
type: list
|
|
||||||
required: false
|
required: false
|
||||||
elements: str
|
docker_vhost_domains:
|
||||||
|
description: "Passed to container role"
|
||||||
|
required: false
|
||||||
|
docker_entrypoint:
|
||||||
|
description: "Passed to container role"
|
||||||
|
required: false
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user