mirror of
https://github.com/suitenumerique/meet.git
synced 2026-08-08 18:03:28 +00:00
54908b9caa
Mount the nginx configuration used by the frontend image as a volume so the default one can be overridden by a custom configuration at deployment time. Based on suggestions from @rouja to help parametrize the configuration at deployment time.
54 lines
1.5 KiB
Go Template
54 lines
1.5 KiB
Go Template
|
|
backend:
|
|
envVars:
|
|
FRONTEND_CUSTOM_CSS_URL: './assets/dinum-styles.css'
|
|
FRONTEND_USE_FRENCH_GOV_FOOTER: True
|
|
FRONTEND_USE_PROCONNECT_BUTTON: True
|
|
# Calendar addons external API
|
|
ADDONS_ENABLED: True
|
|
ADDONS_CSRF_SECRET: 'ThisIsAnExampleKeyForDevPurposeOnly'
|
|
ADDONS_TOKEN_SECRET_KEY: 'ThisIsAnExampleKeyForDevPurposeOnly'
|
|
|
|
# ---- Frontend : DINUM-branded build (meet-frontend-dinum) — Outlook add-in enabled ----
|
|
frontend:
|
|
image:
|
|
repository: localhost:5001/meet-frontend-dinum
|
|
pullPolicy: Always
|
|
tag: "latest"
|
|
|
|
extraVolumes:
|
|
- name: outlook-addon-config
|
|
configMap:
|
|
name: outlook-addon-config
|
|
- name: outlook-addon-manifest
|
|
configMap:
|
|
name: outlook-addon-manifest
|
|
- name: frontend-nginx-config
|
|
configMap:
|
|
name: frontend-nginx-config
|
|
|
|
extraVolumeMounts:
|
|
- name: outlook-addon-config
|
|
mountPath: /usr/share/nginx/html/addons/outlook/config.js
|
|
subPath: config.js
|
|
readOnly: true
|
|
- name: outlook-addon-manifest
|
|
mountPath: /usr/share/nginx/html/addons/outlook/manifest.xml
|
|
subPath: manifest.xml
|
|
readOnly: true
|
|
- name: frontend-nginx-config
|
|
mountPath: /etc/nginx/conf.d/default.conf
|
|
subPath: default.conf
|
|
readOnly: true
|
|
|
|
outlookAddon:
|
|
enabled: true
|
|
baseUrl: "https://meet.127.0.0.1.nip.io"
|
|
enableSourceTracking: true
|
|
feedbackForm: "https://tests.com/"
|
|
appName: "Visio"
|
|
id: "a025f0f6-757a-4790-97f3-99c66c4a5795"
|
|
|
|
frontendNginxConfig:
|
|
enabled: true
|