Skip to content

newexist-ev/docker-piler

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 

Repository files navigation

docker-piler

Mail Piler as a Docker container (unofficial)

Installation

sudo docker-compose up -d
sudo docker-compose exec piler bash
cd /piler
make install
make postinstall

Also, edit /usr/local/etc/piler/piler.conf and set mysqlhost. You can also set syslog_recipients to 1 for easier debugging.

Then, copy /var/piler/www/config-site.php to /usr/local/etc/piler/config-site.php and restart the container with sudo docker-compose restart piler.

Docker Compose example

version: "3"

services:
  piler:
    build: https://github.com/alexhorn/docker-piler.git
    depends_on:
      - piler-db
    ports:
      - "80:80"
    restart: always
    volumes:
      - /var/lib/docker-piler/local:/usr/local/etc/piler
      - /var/lib/docker-piler/piler:/var/piler

  piler-db:
    image: mariadb:latest
    restart: always
    volumes:
      - /var/lib/docker-piler/mysql:/var/lib/mysql
    environment:
      MYSQL_ROOT_PASSWORD: "changeme"
      MYSQL_DATABASE: "piler"
      MYSQL_USER: "piler"
      MYSQL_PASSWORD: "changeme"

Credits

Contains Mail Piler by Janus Suto.

Also, I borrowed a config file from nginx.com.

About

Mail Piler as a Docker container (unofficial)

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published