GithubHelp home page GithubHelp logo

nickalie / docker-postal Goto Github PK

View Code? Open in Web Editor NEW

This project forked from starlightcrafted/docker-postal

0.0 1.0 0.0 175 KB

Docker container for Postal (atech/postal)

Shell 45.92% Dockerfile 54.08%

docker-postal's Introduction

Alpine Linux Container (Default)

For this container, use the 'alpine' folder.

Ubuntu Linux Container

For this container, use the 'ubuntu' folder.

Instructions

Change configuration in docker-compose.yml to update passwords for MySQL/RabbitMQ. Note that both passwords in the postal service, mysql service and rabbitmq service have to be changed to the same values.

Initialize Database and write assets

docker-compose run postal initialize

Create User

docker-compose run postal make-user

Running Container

After configuration is done, run the following to bring the container up.

docker-compose up -d

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

  • 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

docker-postal's People

Contributors

badjware avatar denji avatar jap42 avatar starlightcrafted avatar

Watchers

 avatar

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.