2019-12-22 22:58:44 +05:00
|
|
|
# Rainloop webmail Docker container
|
|
|
|
|
|
|
|
This repository contains Rainloop webmail Docker container build scripts and neccessary configuration files.
|
|
|
|
|
|
|
|
## Persistent things
|
|
|
|
|
2019-12-22 23:27:12 +05:00
|
|
|
There are some things that should be preserved between container's restarts. Please, add new volume for ``/var/www/rainloop/data`` directory.
|
|
|
|
|
|
|
|
If you're binding directory except of creating volume please do proper ``chown``:
|
|
|
|
|
|
|
|
```shell
|
|
|
|
chown -R 100:101 /dir/with/data
|
2021-11-19 11:50:06 +05:00
|
|
|
```
|
|
|
|
|
|
|
|
## Use with docker-compose
|
|
|
|
|
|
|
|
You may use this image with docker-compose like that:
|
|
|
|
|
|
|
|
```yaml
|
|
|
|
version: "2.4"
|
|
|
|
|
|
|
|
services:
|
|
|
|
rainloop:
|
|
|
|
restart: always
|
|
|
|
image: "pztrn/rainloop:1.16.0"
|
|
|
|
volumes:
|
|
|
|
- "/root/rainloop/data:/var/www/rainloop/data"
|
|
|
|
ports:
|
|
|
|
- "5480:80"
|
|
|
|
cpus: 2
|
|
|
|
mem_limit: 1G
|
|
|
|
memswap_limit: 0
|
|
|
|
```
|