Three variables put your own name, logo and colour on Golub. All are optional.
| Variable | Example | Where it shows |
|---|---|---|
GOLUB_BRAND_NAME | Example Mail | Browser tab title and the login page heading. Up to 64 characters. |
GOLUB_BRAND_LOGO | /etc/golub/logo.svg | In place of the pigeon: on the login page, in the empty message pane and in Settings → About. .png, .jpg, .svg or .webp, up to 512 KB. |
GOLUB_BRAND_ACCENT | #0f766e | Buttons, links and highlights, in the light and dark themes. Must be #rrggbb. Button text turns black or white automatically, whichever reads better on the colour. |
The logo file is read once at startup, so mount it into the container read-only:
services:
golub:
image: ghcr.io/stefanpejcic/golub:0.3.0
volumes:
- ./logo.svg:/etc/golub/logo.svg:ro
environment:
GOLUB_BRAND_NAME: "Example Mail"
GOLUB_BRAND_LOGO: /etc/golub/logo.svg
GOLUB_BRAND_ACCENT: "#0f766e"
Without these, the login page shows the Golub name and pigeon:

Tips:
- A square logo with a transparent background works best; SVG stays sharp at every size.
- To change the logo, replace the file and restart the container.



