Coder Social home page Coder Social logo

docker-cyrusimapd's Introduction

Cyrus Container

This image contains Cyrus pieces to run a IMAP server with logging and saslauthd integration. As these 3 things are 3 different services, it is needed to run this image as 3 different containers, each on running a different command. It is desireble to run in this order:

  1. rsyslog container
  2. saslauthd container
  3. cyrus master container

Cyrus IMAP, Saslauthd and Rsyslogd talk to each other through unix sockets placed on /run folder. So the containers needs to share this folder between them.

The following docker-compose.yml piece were used while creating this image:

version: '2'
services:
  cyrus-master:
    image: montefuscolo/cyrus-imapd
    volumes_from:
      - cyrus-rsyslog
      - cyrus-saslauthd
    depends_on:
      - cyrus-rsyslog
      - cyrus-saslauthd
    command: /usr/libexec/cyrus-imapd/cyrus-master

  cyrus-saslauthd:
    image: montefuscolo/cyrus-imapd
    tty: true
    stdin_open: true
    volumes_from:
      - cyrus-rsyslog
    depends_on:
      - cyrus-rsyslog
    command: /usr/sbin/saslauthd -V -d -m /run/saslauthd -a ldap

  cyrus-rsyslog:
    image: montefuscolo/cyrus-imapd
    command: rsyslogd -n -f /etc/rsyslog.conf -i /run/rsyslogd.pid

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.