Custom database, custom ports and custom docker volumes path #16
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Hello there!
I really like your version of mailpiler in a docker container, the installation script is REALLY useful! 👍
I added a few things, because I needed some customization and I think this is also very useful for other people.
Custom MySQL Connections: so that I (and others) can use their existing database servers (if they want to).
I also added a small
piler.sql
file, so that everyone can import the database necessary tables/structure.There is also an instruction in the
README.md
.And I added two new docker-compose files (
piler-default-no-mysql.yml
,piler-ssl-no-mysql.yml
), so no mysql container starts, if you use your own database.Custom Port Mapping: I wanted to map the SMTP, HTTP and HTTPS ports differently, because I run a revery proxy on my server, so you can set these ports during the installation script.
Also if the SMTP port is not 25, postfix won't be uninstalled on the host (if someone would need it).
Custom Docker Volumes Path: If needed you can change the path of the docker volumes folder.
This is very useful for me, because my docker volumes folder has a different path.
I tested everything and there were no problems (default values are the same as before), so no breaking changes.
Hope you like that.
Greetings