Skip to content

eltariel/proton-bridge-container

Repository files navigation

Proton Mail Bridge container

Run the Proton Mail Bridge in a container, allowing external access using socat tunnels. This image runs as a non-root user.

Running

Use your preferred container runtime. It works just as well in podman and docker.

podman run -v bridge_data:/data/bridge -v security_data:/data/security -p 1025:1025/tcp -p 1143:1143/tcp ghcr.io/eltariel/proton-bridge-container

This container exposes the following ports:

  • SMTP: 8025
  • IMAP: 8143

The pass store and associated GPG keys are stored in /data/security, and all other proton mail bridge data is stored in /data/bridge.

Building

The latest release tag from the upstream proton-bridge repo must be provided in the BRIDGE_VERSION build arg, so that the correct source code can be checked out and built. There's a script to do this automatically; running it with no arguments will build a container for the latest release.

./build_container.sh --help

Note that podman doesn't support the --keep-git-dir parameter used in the ADD command. The builder script will use docker to build but allows overriding this with podman - this will break the build.

About

Run the ProtonMail bridge in a container.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published