Sign inSign up

florianpiesche/mailpile

By florianpiesche

Updated almost 2 years ago

Multi-architecture images for the webmail client Mailpile

Image
2

10K+

florianpiesche/mailpile repository overview

Multi-architecture Docker builds for Mailpile

Release (single-user) Release (multi-user)

Nightly (single-user) Nightly (multi-user)

Mailpile is a self-hosted, modern web email client with good encryption support.

Quick reference

Supported tags

Tagged Releases

  • latest is based on the most recent tagged Mailpile release.
  • Tag names (e.g. 1.0.0rc6) are also available for access to specific releases.

Nightly builds

  • nightly is based on the nightly build using the most recent commit to Mailpile's master branch.
  • Individual commits are also available using their individual short commit IDs (e.g. b5e4b85 for commit b5e4b85)

How to use this image

This image will run Mailpile in web mode and automatically start the web UI. To run the image:

$ docker run -d -p 8080:80 florianpiesche/mailpile

Once startup completes, you will be able to use Mailpile at http://localhost:8080/ on your host computer.

Configuration

There is no external configuration needed for this container; all the configuration is done within Mailpile itself and stored in the container's data volume (see below).

Persistent data

The mailpile data (emails, encryption keys, configuration, etc) are all stored in the unnamed docker volume /home/mailpile/.local/share/Mailpile/. The docker daemon will store that data within the docker directory /var/lib/docker/volumes/.... That means your data is saved even if the container crashes, is stopped or deleted.

A named Docker volume or a mounted host directory can be used for upgrades and backups. You can add this by using the -v parameter when running Docker:

$ docker run -d \
  -v mailpile:/home/mailpile/.local/share/Mailpile \
  -p 8080:80 \
  florianpiesche/mailpile

Using docker-compose

The easiest way to get a reproducible setup you can start, stop and resume at will is using a docker-compose file. There are too many different possibilities to setup your system, so here are only some examples of what you have to look for.

To use a compose file, create a file called docker-compose.yaml in a new, empty directory on your host computer and paste in this data:

version: '2'

volumes:
  mailpile:

services:
  mailpile:
    image: florianpiesche/mailpile
    restart: always
    volumes:
      - mailpile:/home/mailpile/.local/share/Mailpile
    ports:
      - 8080:80

Then run docker-compose up -d in the directory holding the compose file, and you will be able to access Mailpile at http://localhost:8080/ from your host system. You can stop Mailpile at any point using docker-compose down, and resume it again with your data stored by re-running docker-compose up -d.

Tag summary

Content type

Image

Digest

sha256:094fa08dd

Size

90.2 MB

Last updated

almost 2 years ago

docker pull florianpiesche/mailpile