Skip to content

config: use custom docker-mailserver-gui image in secure-stack compose#20

Merged
weby-homelab merged 1 commit into
masterfrom
fix/use-project-image
May 21, 2026
Merged

config: use custom docker-mailserver-gui image in secure-stack compose#20
weby-homelab merged 1 commit into
masterfrom
fix/use-project-image

Conversation

@weby-homelab
Copy link
Copy Markdown
Owner

This PR updates the secure-stack docker-compose.yml configuration to deploy the project's own custom webyhomelab/docker-mailserver-gui image instead of the upstream official image.

@weby-homelab weby-homelab merged commit 625076f into master May 21, 2026
4 checks passed
@weby-homelab weby-homelab deleted the fix/use-project-image branch May 21, 2026 17:23
Copy link
Copy Markdown

@gemini-code-assist gemini-code-assist Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request updates the mailserver image in the docker-compose configuration to a version that includes a GUI. Feedback indicates that this change undermines the project's security model by increasing the attack surface and creating redundancy with existing services. Additionally, it is recommended to pin the Docker image to a specific version tag rather than using ':latest' to ensure deterministic and stable deployments.

services:
mailserver:
image: mailserver/docker-mailserver:latest
image: webyhomelab/docker-mailserver-gui:latest
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

security-high high

The switch to the webyhomelab/docker-mailserver-gui image contradicts the security model described in the README.md (line 9), which states that the core mail server remains 'completely unmodified and isolated'. The new image, along with the Traefik labels (lines 33-37), suggests that a web interface is now running directly within the mail server container. This increases the attack surface and creates redundancy with the existing webmail service (SnappyMail) defined on line 39. This change undermines the 'Zero Trust' and isolation principles of the stack.

services:
mailserver:
image: mailserver/docker-mailserver:latest
image: webyhomelab/docker-mailserver-gui:latest
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

medium

Using the :latest tag for Docker images is discouraged in production-ready configurations. It makes deployments non-deterministic and can lead to unexpected failures when the image is updated. It is recommended to pin the image to a specific version tag.

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