From 5bf6630b8e605d71debe0bb90c6ee12708a4b626 Mon Sep 17 00:00:00 2001 From: Kuba Orlik Date: Sun, 23 Aug 2026 20:55:36 +0200 Subject: [PATCH] Override watermark --- tasks/compose.yml | 1 + tasks/config.yml | 15 +++++++++++++++ templates/docker-compose.override.yml | 8 ++++++++ 3 files changed, 24 insertions(+) create mode 100644 templates/docker-compose.override.yml diff --git a/tasks/compose.yml b/tasks/compose.yml index 6066696..353cee7 100644 --- a/tasks/compose.yml +++ b/tasks/compose.yml @@ -3,6 +3,7 @@ ansible.builtin.set_fact: jitsi_compose_files: - docker-compose.yml + - docker-compose.override.yml # not overriding it in the file itself because we're not authoring it - name: Add optional Compose files ansible.builtin.set_fact: diff --git a/tasks/config.yml b/tasks/config.yml index c8df8fe..d780ab7 100644 --- a/tasks/config.yml +++ b/tasks/config.yml @@ -65,3 +65,18 @@ group: root mode: "0600" notify: Restart Jitsi + +- name: etherpad overrides + ansible.builtin.template: + src: docker-compose.override.yml + dest: "{{ jitsi_install_dir }}/docker-compose.override.yml" + owner: root + group: root + mode: "0600" + notify: Restart Jitsi + +- name: Copy watermark + ansible.builtin.copy: + src: watermark.png + dest: "{{ jitsi_install_dir }}/watermark.png" + mode: "0644" diff --git a/templates/docker-compose.override.yml b/templates/docker-compose.override.yml new file mode 100644 index 0000000..f77f798 --- /dev/null +++ b/templates/docker-compose.override.yml @@ -0,0 +1,8 @@ +services: + web: + volumes: + - ${CONFIG}/web:/config:Z + - ${CONFIG}/storage/web:/storage:Z + - ${CONFIG}/storage/transcripts:/usr/share/jitsi-meet/transcripts:ro,z + - ${CONFIG}/tmp/web-load-test:/usr/share/jitsi-meet/load-test:Z + - ./watermark.png:/usr/share/jitsi-meet/images/watermark.png # adding the watermark