container: support setting docker command

This commit is contained in:
uumas
2023-06-26 13:11:19 +03:00
parent 68e4bcdbbd
commit 64aa8c574c
2 changed files with 6 additions and 0 deletions

View File

@@ -148,6 +148,11 @@ argument_specs:
type: list
required: false
elements: str
docker_command:
description: "Docker command as list of arguments or command and arguments"
type: list
required: false
elements: str
docker_network_mode:
description: "Docker container network mode"
type: str

View File

@@ -93,6 +93,7 @@
labels: "{{ traefik_labels | default(omit) }}"
env: "{{ docker_env | combine(docker_additional_env) | combine({'TZ': timezone}) }}"
entrypoint: "{{ docker_entrypoint | default(omit) }}"
command: "{{ docker_command | default(omit) }}"
restart_policy: always
network_mode: "{{ docker_network_mode | default(omit) }}"
networks: "{{ container_networks | default(omit) }}"