2022-03-08 08:32:05 +00:00
# piler-docker
2022-03-08 08:35:56 +00:00
2022-03-08 13:30:44 +00:00
[![License ](https://img.shields.io/github/license/simatec/piler-docker?style=flat )](https://github.com/simatec/piler-docker/blob/master/LICENSE)
2022-03-08 13:28:24 +00:00
[![Donate ](https://img.shields.io/badge/paypal-donate%20|%20spenden-blue.svg )](https://paypal.me/mk1676)
**************************************************************************************************************
**If you like it, please consider a donation:**
2022-03-08 13:37:53 +00:00
[![paypal ](https://www.paypalobjects.com/en_US/DK/i/btn/btn_donateCC_LG.gif )](https://paypal.me/mk1676)
2022-03-08 13:28:24 +00:00
**************************************************************************************************************
2022-03-08 08:35:56 +00:00
### Mailpiler for Docker
This is a project to get the Mailpiler running in a docker compose system in a simple and uncomplicated way.
You can find more information about the Piler project here.
https://www.mailpiler.org/
*******************************************************************************************************
### Installation Guide:
2022-03-08 11:02:21 +00:00
* Install Docker
2022-03-08 13:19:51 +00:00
```
apt install curl git -y
```
2022-03-08 12:42:38 +00:00
2022-03-08 13:19:51 +00:00
```
curl -sSL https://get.docker.com/ | CHANNEL=stable sh
systemctl enable --now docker
```
2022-03-08 11:02:21 +00:00
* Install Docker-Compose
2022-03-08 13:19:51 +00:00
```
curl -L https://github.com/docker/compose/releases/download/$(curl -Ls https://www.servercow.de/docker-compose/latest.php)/docker-compose-$(uname -s)-$(uname -m) > /usr/local/bin/docker-compose
chmod +x /usr/local/bin/docker-compose
```
2022-03-08 11:02:21 +00:00
* reboot your system
2022-03-08 13:19:51 +00:00
```
reboot now
```
2022-03-08 11:02:21 +00:00
* remove postfix
2022-03-08 13:19:51 +00:00
```
apt purge postfix -y
```
2022-03-08 11:02:21 +00:00
* Clone repository
2022-03-08 13:19:51 +00:00
```
cd /opt
git clone https://github.com/simatec/piler-docker.git
cd /opt/piler-docker
```
2022-03-08 11:02:21 +00:00
configure your Piler seetings
2022-03-08 13:19:51 +00:00
```
nano piler.conf
```
2022-03-08 11:02:21 +00:00
after config start the Install
2022-03-08 13:19:51 +00:00
```
bash install-piler.sh
```
2022-03-08 11:02:21 +00:00
Congratulations your Piler is installed...
2022-03-08 13:13:08 +00:00
The Piler can now be reached at http://your-domain:8080.
2022-03-08 14:12:53 +00:00
- After installation, any changes can be made in Piler.conf at any time and the install script can then be run again.
2022-03-08 13:30:44 +00:00
******************************************************************************************************
2022-03-08 13:31:38 +00:00
### SSL certificates
2022-03-08 13:13:08 +00:00
If you want to run your Piler with SSL certificates, which always makes sense if the Piler isn't running locally, then I recommend the Nginx proxy manager for Docker.
I built my setup with the Nginx.
The Ngnix can be installed with the following compose.
Create a docker-compose.yml file similar to this:
2022-03-08 13:17:23 +00:00
```
2022-03-08 13:13:08 +00:00
version: '3'
services:
app:
image: 'jc21/nginx-proxy-manager:latest'
restart: unless-stopped
ports:
- '80:80'
- '81:81'
- '443:443'
volumes:
- ./data:/data
- ./letsencrypt:/etc/letsencrypt
2022-03-08 13:17:23 +00:00
```
2022-03-08 13:13:08 +00:00
2022-03-08 13:17:23 +00:00
```
2022-03-08 13:13:08 +00:00
docker-compose up -d
2022-03-08 13:17:23 +00:00
```
2022-03-08 13:13:08 +00:00
2022-03-08 13:37:53 +00:00
Log in to the Admin UI
When your docker container is running, connect to it on port 81 for the admin interface. Sometimes this can take a little bit because of the entropy of keys.
http://your-domain:81
2022-03-08 11:02:21 +00:00
**********************************************************************************************************
## Changelog
### 0.1.0 (08.03.2022)
* (simatec) first beta
## License
MIT License
Copyright (c) 2022 simatec
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.