26 lines
951 B
YAML
26 lines
951 B
YAML
|
---
|
||
|
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: ~
|
||
|
element_container_name: "element-web"
|
||
|
element_container_restart_policy: >-
|
||
|
{{ (element_deployment_method == 'docker')
|
||
|
| ternary('unless-stopped',
|
||
|
(element_deployment_method == 'podman' |
|
||
|
ternary('on-failure', 'always'))
|
||
|
}}
|
||
|
element_container_full_volumes: >-
|
||
|
{{ element_container_default_volumes
|
||
|
+ element_container_volumes | default([]) }}
|
||
|
element_container_default_volumes:
|
||
|
- "{{ element_config_file }}:/app/config.json:ro"
|