Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding lines to docker-compose.yml to allow for simpler SOGo web client UI customisation #6220

Open
wants to merge 2 commits into
base: staging
Choose a base branch
from

Conversation

Babybatrick
Copy link

Contribution Guidelines

What does this PR include?

This PR includes changes to sogo-mailcow container, in the docker-compose.yml file, and subsequent upload of 3 new files, which are required because new volumes are mounted. The uploaded files are the original SOGo UI elements, taken directly from the sogo-mailcow container.

Short Description

SOGo customisation is not as straightforward as mailcow UI customisation, but it can be made simpler. In this PR, I have included 3 additional lines in the docker-compose.yml file (sogo-mailcow container) which will mount the following files on the host system:

  • custom-shortlogo.svg
  • custom-fulllogo.svg
  • custom-fulllogo.png

This will allow users to easily change to custom UI elements, simply by replacing the needed files in the ./data/conf/sogo directory. By default the aforementioned files are the default SOGo UI elements. The inclusion of these files is necessary during the container creation process, as absence of the files will lead to errors, as docker will treat the paths as directories.
image

Affected Containers

  • sogo-mailcow

Did you run tests?

Several tests performed to ensure that the changes do not affect the functionality of the client.

What did you tested?

UI functionality, sending and receiving messages

What were the final results? (Awaited, got)

Everything worked as expected

Example of a changed UI, using the provided method:
image

This commit includes the addition of 3 lines, in the volumes part of the sogo-mailcow container, to allow for better customisation of the user interface on the web client page.
…ker-compose.yml (sogo-mailcow container)

After new volumes were added to docker-compose.yml in the sogo-mailcow container, it is necessary to include the specified files in the path, in order for docker to correctly start after running `docker compose up` command, otherwise error will appear, as necessary files would be missing.
The files uploaded are original SOGo UI elements, obtained from the sogo-mailcow container. Whenever users will need to change the UI elements, they would just need to change these files. Hence simplifying the process.
@Babybatrick Babybatrick changed the title Staging Adding lines to docker-compose.yml to allow for simpler SOGo web client UI customisation Dec 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant