mirror of
https://github.com/luzifer-docker/jitsi.git
synced 2024-11-08 14:50:02 +00:00
Document file patching
Signed-off-by: Knut Ahlers <knut@ahlers.me>
This commit is contained in:
parent
6662efd965
commit
5e9c2b7147
1 changed files with 19 additions and 0 deletions
19
README.md
19
README.md
|
@ -36,3 +36,22 @@ server {
|
|||
}
|
||||
}
|
||||
```
|
||||
|
||||
## Apply UI modifications
|
||||
|
||||
This container has a mechanism included to patch the installation inside the container on startup. There are two ways to modify those files: Patch them or overwrite them. Those modifications are needed to be mounted to the `/ui` mount-point of the container on startup.
|
||||
|
||||
This is my folder structure:
|
||||
|
||||
```
|
||||
/ui
|
||||
+- files
|
||||
+- custom.head.html
|
||||
+- logo.png
|
||||
+- patches
|
||||
+- 01_index_html.patch
|
||||
+- 02_interface_config_js.patch
|
||||
```
|
||||
|
||||
- The content of the `/ui/files` folder is copied over the `/usr/share/jitsi-meet` folder with `rsync` command so will replace the whole file being present there
|
||||
- The patches in `/ui/patches` are executed inside the `/usr/share/jitsi-meet` folder using `patch` command so will modify the contents of the files
|
||||
|
|
Loading…
Reference in a new issue