piler-docker/README.md

260 lines
6.2 KiB
Markdown
Raw Normal View History

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.
2024-06-01 15:58:54 +00:00
https://www.mailpiler.org/ or https://github.com/jsuto/piler
2022-03-08 08:35:56 +00:00
*******************************************************************************************************
2023-01-23 20:54:04 +00:00
### DockerHub
https://hub.docker.com/r/simatec/piler
*******************************************************************************************************
2022-03-08 08:35:56 +00:00
### Installation Guide:
2022-12-15 11:07:20 +00:00
* Install Docker and dependencies
2022-03-08 11:02:21 +00:00
2022-03-08 13:19:51 +00:00
```
2022-12-16 16:27:22 +00:00
apt install curl git -y
```
```
curl -sSL https://get.docker.com/ | CHANNEL=stable sh
2022-12-18 22:02:57 +00:00
```
```
2022-12-16 16:27:22 +00:00
systemctl enable --now docker
```
* Install Docker-Compose
```
2022-12-18 22:02:57 +00:00
curl -L https://github.com/docker/compose/releases/download/v$(curl -Ls https://www.servercow.de/docker-compose/latest.php)/docker-compose-$(uname -s)-$(uname -m) > /usr/local/bin/docker-compose
```
```
2022-12-16 16:27:22 +00:00
chmod +x /usr/local/bin/docker-compose
2022-03-08 13:19:51 +00:00
```
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
* Clone repository
2022-03-08 13:19:51 +00:00
```
cd /opt
2022-12-18 22:02:57 +00:00
```
```
2022-03-08 13:19:51 +00:00
git clone https://github.com/simatec/piler-docker.git
2022-12-18 22:02:57 +00:00
```
```
2022-03-08 13:19:51 +00:00
cd /opt/piler-docker
```
2022-03-08 11:02:21 +00:00
2023-01-17 12:35:20 +00:00
* start the Install
2022-03-08 11:02:21 +00:00
2022-03-08 13:19:51 +00:00
```
bash install-piler.sh
```
2022-03-08 11:02:21 +00:00
2022-03-08 14:19:54 +00:00
2022-03-08 11:02:21 +00:00
Congratulations your Piler is installed...
2022-03-09 13:28:14 +00:00
If you have Let's Encrypt activated, you can reach the Piler at https://your-piler-domain
2022-03-08 13:13:08 +00:00
2022-03-09 13:28:14 +00:00
If Let's Encrypt is disabled, the Piler is at http://your-piler-domain or at http://your-local-IP
2022-03-08 13:13:08 +00:00
2023-09-19 10:59:02 +00:00
The Default Login is `admin@local` and the Password ist `pilerrocks`
2022-03-08 13:13:08 +00:00
2022-03-09 13:28:14 +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:37:53 +00:00
2022-12-18 12:15:56 +00:00
**********************************************************************************************************
### Update Guide:
You can execute the following commands to update the containers.
Here the current yml files are downloaded from Github and the containers are updated if necessary.
```
cd /opt/piler-docker
2023-01-18 15:31:03 +00:00
bash install-piler.sh
2023-01-18 15:26:51 +00:00
```
You will get a selection menu with the following options:
```
1) Install-Piler
2) Update-Piler
2022-12-18 12:15:56 +00:00
```
* After a successful update, unused container images can be removed from the system with the following command:
```
docker system prune
```
2022-03-10 16:37:54 +00:00
**********************************************************************************************************
### Using the Piler on the command line
For use on the command line, we first log into the container.
```
docker exec -it piler /bin/bash
```
Next we switch to the user "piler"
```
su piler
```
To get write permissions, we switch to the /var/tmp folder
```
cd /var/tmp
```
Here you can now execute the functions of the Piler on the command line.
Here are some examples:
```
pilerimport -h
crontab -l
```
To leave the container on the console you have to execute 2x `exit`.
2022-03-08 11:02:21 +00:00
**********************************************************************************************************
## Changelog
2024-06-14 12:27:30 +00:00
2024-07-05 21:07:40 +00:00
### 0.9.7 (14.06.2024)
* (simatec) Fix Network on Update
2024-06-14 12:27:30 +00:00
### 0.9.7 (14.06.2024)
* (simatec) Release 0.9.7
2024-06-11 19:25:44 +00:00
### 0.9.6 (11.06.2024)
* (simatec) Hostname Fix
2024-06-10 07:09:11 +00:00
### 0.9.5 (10.06.2024)
* (simatec) small fix
2023-01-23 14:11:22 +00:00
2024-06-05 10:08:14 +00:00
### 0.9.4 (05.06.2024)
* (simatec) patch for Piler Update added
2024-06-01 15:56:36 +00:00
### 0.9.3 (01.06.2024)
* (simatec) Piler v1.4.5 updated
* (simatec) MariaDB v11.1.2 updated
2023-09-19 10:43:04 +00:00
### 0.9.2 (19.09.2023)
* (simatec) Piler v1.4.4 updated
2023-01-26 20:48:51 +00:00
### 0.9.1 (23.01.2023)
* (simatec) Piler updated
2023-01-23 20:37:49 +00:00
### 0.9.1 (23.01.2023)
* (simatec) Piler Docker Hub added
* (simatec) Fix Automatic Import
2023-01-23 14:11:22 +00:00
### 0.9.0 (23.01.2023)
* (simatec) Piler Build added
* (simatec) Piler Import Option added
* (simatec) Fix Updater
2023-01-15 22:13:05 +00:00
2023-01-19 08:44:17 +00:00
### 0.8.3 (19.01.2023)
* (simatec) Update himself added
2023-01-18 15:26:51 +00:00
### 0.8.2 (18.01.2023)
* (simatec) docker, curl and git Check added
* (simatec) Update Config added
2023-01-17 14:57:53 +00:00
### 0.8.1 (17.01.2023)
* (simatec) Docker Compose Check added
2023-01-17 12:35:20 +00:00
### 0.8.0 (17.01.2023)
* (simatec) Config-Menu for Installer added
2023-01-15 22:13:05 +00:00
### 0.7.0 (15.01.2023)
* (simatec) New Volumes added
* (simatec) Fix Installer
2022-12-18 12:15:56 +00:00
### 0.6.0 (18.12.2022)
* (simatec) Update Installer
* (simatec) update.sh added
2022-12-18 15:15:03 +00:00
* (simatec) downgrade mariadb to v10.6
2022-03-08 11:02:21 +00:00
2022-12-17 12:26:36 +00:00
### 0.5.3 (17.12.2022)
* (simatec) Installer Fix
2022-12-16 16:21:19 +00:00
### 0.5.2 (16.12.2022)
* (simatec) update piler to v1.4.2
2022-12-15 11:07:20 +00:00
### 0.5.1 (15.12.2022)
* (simatec) update piler to v1.4.1
* (simatec) update mariadb to v10.9.4
2022-08-25 10:20:19 +00:00
### 0.5.0 (25.08.2022)
* (simatec) update piler to 1.3.12
* (simatec) update mariadb to 10.9.2
2022-04-20 10:35:35 +00:00
### 0.4.0 (20.04.2022)
* (simatec) small fixes
2022-03-10 16:37:54 +00:00
### 0.3.0 (10.03.2022)
* (simatec) purge option added to config
2022-03-09 13:28:14 +00:00
### 0.2.0 (09.03.2022)
* (simatec) Let's Encrypt added
2022-03-08 11:02:21 +00:00
### 0.1.0 (08.03.2022)
* (simatec) first beta
## License
MIT License
2024-06-01 15:56:36 +00:00
Copyright (c) 2022 - 2024 simatec
2022-03-08 11:02:21 +00:00
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.