2024-09-19 16:04:57 +00:00
|
|
|
---
|
|
|
|
element_container_image: >-
|
|
|
|
{{
|
|
|
|
element_container_image_registry + '/'
|
|
|
|
+ ((element_container_image_namespace + '/')
|
|
|
|
if element_container_image_namespace | default(false, true) else '')
|
|
|
|
+ element_container_image_name + ':'
|
|
|
|
+ (element_container_image_tag | default('v' + element_version, true))
|
|
|
|
}}
|
|
|
|
element_container_image_registry: "docker.io"
|
|
|
|
element_container_image_namespace: "vectorim"
|
|
|
|
element_container_image_name: "element-web"
|
|
|
|
element_container_image_tag: ~
|
2024-11-12 19:46:13 +00:00
|
|
|
element_container_image_source: pull
|
|
|
|
element_container_image_force_source: >-2
|
|
|
|
{{ element_container_image_tag | default(false, true) | bool }}
|
2024-09-19 16:04:57 +00:00
|
|
|
element_container_name: "element-web"
|
|
|
|
element_container_restart_policy: >-
|
|
|
|
{{ (element_deployment_method == 'docker')
|
|
|
|
| ternary('unless-stopped',
|
|
|
|
(element_deployment_method == 'podman' |
|
2024-11-12 19:46:13 +00:00
|
|
|
ternary('on-failure', 'always')))
|
2024-09-19 16:04:57 +00:00
|
|
|
}}
|
|
|
|
element_container_full_volumes: >-
|
|
|
|
{{ element_container_default_volumes
|
|
|
|
+ element_container_volumes | default([]) }}
|
|
|
|
element_container_default_volumes:
|
|
|
|
- "{{ element_config_file }}:/app/config.json:ro"
|