Adding option to brand across services where possible

This commit is contained in:
Ian Roddis
2026-03-23 14:54:16 -03:00
parent 6c914d5b82
commit 72f171e88f
20 changed files with 191 additions and 4 deletions
+2
View File
@@ -1,2 +1,4 @@
---
roundcube_data_dir: "{{ sovereign_base_dir }}/roundcube"
# Roundcube UI skin. The official image ships "elastic" and "larry".
roundcube_skin: "elastic"
+8
View File
@@ -6,6 +6,14 @@
mode: '0755'
loop:
- "{{ roundcube_data_dir }}"
- "{{ roundcube_data_dir }}/config"
- name: Deploy Roundcube custom branding config
ansible.builtin.template:
src: custom.inc.php.j2
dest: "{{ roundcube_data_dir }}/config/custom.inc.php"
mode: '0644'
notify: restart roundcube
- name: Deploy Roundcube docker-compose
ansible.builtin.template:
@@ -0,0 +1,5 @@
<?php
// Sovereign tenant branding for Roundcube.
// This file is merged with the auto-generated config by the container entrypoint.
$config['product_name'] = '{{ tenant_name }} Webmail';
@@ -35,7 +35,9 @@ services:
ROUNDCUBEMAIL_SMTP_PORT: 587
ROUNDCUBEMAIL_DES_KEY: "{{ roundcube_des_key }}"
ROUNDCUBEMAIL_PLUGINS: "archive,zipdownload,managesieve,jqueryui"
ROUNDCUBEMAIL_SKIN: elastic
ROUNDCUBEMAIL_SKIN: "{{ roundcube_skin }}"
volumes:
- {{ roundcube_data_dir }}/config/custom.inc.php:/var/roundcube/config/custom.inc.php:ro
labels:
- "traefik.enable=true"
- "traefik.http.routers.roundcube.rule=Host(`{{ roundcube_domain }}`)"