Dockerized Postal mail service, fork of https://github.com/CatDeployed/docker-postal
Go to file
2017-05-10 19:12:40 -04:00
data make container more versatile 2017-05-05 22:31:47 -04:00
.gitignore update README & gitignore 2017-05-10 19:03:06 -04:00
.travis.yml update travis 2017-05-09 16:58:19 -04:00
docker-compose.yml accidentally put wrong port 2017-05-10 19:12:40 -04:00
Dockerfile update mysql 2017-05-05 22:42:38 -04:00
README.md fix charts 2017-05-10 19:04:29 -04:00
wrapper.sh update mysql 2017-05-05 22:42:38 -04:00

Docker container for atech/postal

Docker Hub Daily Builds Status

tag Status Travis-CI Build
latest Daily Build [Build]

Side Note: Sometimes, ruby fails to fetch and the build looks like it's failed. Also, each branch corresponds to the docker tag, so the "master" branch always shows that it has failed.

Instructions

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

Then, begin by following the directions at https://github.com/atech/postal/wiki/Installation#initialize-database--assets. Postal can be accessed by checking the section below. Note that "intialize-config" is already run for you, as the database parameters need to be configured before the postal tool can be used.

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.

Be sure to do some port mappings to allow your SMTP server and HTTP(s) server to be accessed. I suggest simply port mapping the SMTP server and using jwilder/nginx-proxy to proxy the HTTP server.

Still WIP