mirror of
https://github.com/famedly/ansible-collection-matrix
synced 2024-11-10 05:34:16 +00:00
fix(element): allow arbitrary image tags
This commit is contained in:
parent
719e4919b6
commit
dd3765a8b2
3 changed files with 5 additions and 2 deletions
|
@ -56,6 +56,9 @@ element_config:
|
|||
preferredDomain: jitsi.riot.im
|
||||
element_domain_configs: []
|
||||
element_deployment_method: 'webroot' #alternative is 'docker'
|
||||
element_docker_image: "{{ element_docker_image_base }}:{{ element_docker_image_tag }}"
|
||||
element_docker_image_base: "docker.io/vectorim/element-web"
|
||||
element_docker_image_tag: "v{{ element_version }}"
|
||||
element_docker_ports: []
|
||||
element_docker_labels: {}
|
||||
element_docker_volumes: "{{ element_docker_main_volumes + element_docker_domain_volumes }}"
|
||||
|
|
|
@ -37,7 +37,7 @@
|
|||
- name: Deploy docker container
|
||||
docker_container:
|
||||
name: "element-web"
|
||||
image: "docker.io/vectorim/riot-web:v{{ element_version }}"
|
||||
image: "{{ element_docker_image }} }}"
|
||||
ports: "{{ element_docker_ports }}"
|
||||
labels: "{{ element_docker_labels_complete }}"
|
||||
restart_policy: unless-stopped
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
---
|
||||
element_docker_labels_complete: "{{ element_docker_labels_base | combine(element_docker_labels) }}"
|
||||
element_docker_labels_base:
|
||||
version: "{{ element_version }}"
|
||||
version: "{{ element_docker_image_tag | default(element_version, true) }}"
|
||||
|
|
Loading…
Reference in a new issue