/docker-snappymail

Snappymail webmail docker image

Primary LanguageShell

ajanvier/docker-snappymail

Docker Image Size Docker Pulls Docker Latest Version

Docker Hub : https://hub.docker.com/r/ajanvier/snappymail

What is this ?

Snappymail is a simple, modern & fast web-based client. More details on the official website.

Features

  • Lightweight & secure image (no root process)
  • Based on Alpine
  • Latest Snappymail (stable)
  • Contacts (DB) : sqlite, mysql or pgsql (server not built-in)
  • With Nginx and PHP 8.2

Build-time variables

  • GPG_FINGERPRINT : fingerprint of signing key

Ports

  • 8888

Environment variables

Variable Description Type Default value
UID snappymail user id optional 991
GID snappymail group id optional 991
UPLOAD_MAX_SIZE Attachment size limit optional 25M
LOG_TO_STDOUT Enable nginx, php and snappymail error logs to stdout optional false
MEMORY_LIMIT PHP memory limit optional 128M

Docker-compose.yml

# Full example :
# https://github.com/mailserver2/mailserver/blob/master/docker-compose.sample.yml

snappymail:
  image: ajanvier/snappymail
  container_name: snappymail
  volumes:
    - /mnt/docker/snappymail:/snappymail/data
  depends_on:
    - mailserver