Dockerized Postal mail service, fork of https://github.com/CatDeployed/docker-postal
Go to file
2020-12-27 06:25:00 +00:00
.semaphore Update Semaphore configuration 2020-12-27 06:25:00 +00:00
alpine test to see if this fixes the issue 2020-05-20 00:14:49 -04:00
ubuntu add missing file 2020-05-20 00:18:10 -04:00
.gitignore split into alpine/ubuntu 2018-07-23 18:22:42 -04:00
.gitlab-ci.yml remove unrequired touch 2020-05-20 00:17:29 -04:00
README.md Update README.md 2020-04-17 06:09:15 +01:00

docker-postal

This project runs daily docker builds for postalhq/postal

Alpine Linux Container (Default)

For this container, use the 'alpine' folder.

Ubuntu Linux Container

For this container, use the 'ubuntu' folder.

Instructions

  1. Change the folder to either ubuntu or alpine, depending on which version you want to use
  2. Open docker-compose.yml
  3. Update MYSQL_ROOT_PASSWORD and RABBITMQ_DEFAULT_PASS everywhere in the file to new secret passwords
  4. Update POSTAL_FNAME (First Name), POSTAL_LNAME (Last Name), POSTAL_PASSWORD, and POSTAL_EMAIL values in the file
  5. Run docker-compose up -d

Notes

  • The POSTAL_EMAIL and POSTAL_PASSWORD values will be the email and password you use to login
  • POSTAL_EMAIL and POSTAL_PASSWORD will only be used if there is a need to initialize the postal installation. As a result, changing them will not change the admin username or password while postal is already setup
  • All the setup instructions are already run

Using the postal tool.

To use the postal tool, simply run

docker-compose run postal <parameter>

For example, the following command runs postal initialize inside the container.

docker-compose run postal initialize

Migrations

See https://github.com/atech/postal/wiki/Upgrading. Note that building a new container (or pulling a new version from Docker Hub) will update the files in postal, so all you have to run is postal upgrade after building or retrieving the new container. Updating postal using its auto-update feature is highly not reccomended and likely does not work properly.

Ports

Port mappings may change (as they have in the past). If SMTP/HTTP(s) is not working, verify that the mapped ports are correct.

Anti-Spam / Antivirus

The initial design for the container was to be simple, minimal, and customizable, so Spamassassin and ClamAV are not included by default. Feel free to fork and add to the Dockerfile (though you must set docker-compose.yml to build from Dockerfile and not pull an image), or add them by linking additional containers.

Updates

  • v3.0.0

    • Move to Gitlab with automated testing
    • Add user creation system for more reliability
    • Add some more checks on MySQL during startup
  • v2.0.0

    • Update to more reliable version of YAML management system
    • Split into ubuntu and alpine images
    • Moved to CircleCI for more advanced building
  • v1.0.0

    • Initial Release