docker-rainloop/README.md

73 lines
1.7 KiB
Markdown
Raw Normal View History

2016-09-27 07:27:28 +02:00
:warning: **24/09/2016** : Rainloop reverse proxy port have changed, it's now **8888**. Please, update your nginx vhost file before pulling the latest image from dockerhub. For more information : https://github.com/hardware/mailserver/wiki/Reverse-proxy-configuration
2016-05-05 09:15:35 +02:00
# hardware/rainloop
![](https://i.goopics.net/nI.png)
2016-09-24 12:46:58 +02:00
### What is this ?
2016-05-13 09:20:21 +02:00
Rainloop is a simple, modern & fast web-based client. More details on the [official website](http://www.rainloop.net/).
2016-05-05 09:15:35 +02:00
### Features
2016-09-24 12:46:58 +02:00
- Lightweight & secure image (no root process)
- Based on Alpine 3.4
2016-05-05 09:15:35 +02:00
- Latest Rainloop **Community Edition** (stable)
- Contacts (DB) : sqlite, or mysql (server not built-in)
2016-09-24 12:46:58 +02:00
- With Nginx and PHP7
2016-05-05 09:15:35 +02:00
2016-09-24 12:46:58 +02:00
### Build-time variables
2016-05-05 09:15:35 +02:00
2016-09-24 12:46:58 +02:00
- **GPG_FINGERPRINT** : fingerprint of signing key
2016-05-05 09:15:35 +02:00
2016-09-24 12:46:58 +02:00
### Ports
2016-05-13 09:20:21 +02:00
2016-09-24 12:46:58 +02:00
- **8888**
2016-05-13 09:20:21 +02:00
2016-09-24 12:46:58 +02:00
### Environment variables
2016-05-13 09:20:21 +02:00
2016-09-24 12:46:58 +02:00
| Variable | Description | Type | Default value |
| -------- | ----------- | ---- | ------------- |
| **GID** | rainloop user id | *optional* | 991
| **UID** | rainloop group id | *optional* | 991
2016-05-13 09:20:21 +02:00
2016-09-24 12:46:58 +02:00
### Reverse proxy example with nginx
2016-05-13 09:20:21 +02:00
2016-09-24 12:46:58 +02:00
https://github.com/hardware/mailserver/wiki/Reverse-proxy-configuration
2016-05-13 09:20:21 +02:00
2016-09-24 12:46:58 +02:00
### Initial configuration
2016-05-05 09:15:35 +02:00
2016-09-24 12:46:58 +02:00
https://github.com/hardware/mailserver/wiki/Rainloop-initial-configuration
2016-05-05 09:15:35 +02:00
### Docker-compose
#### Docker-compose.yml
```
rainloop:
image: hardware/rainloop
container_name: rainloop
links:
- mariadb:mariadb
volumes:
- /mnt/docker/rainloop:/rainloop/data
2016-09-24 12:46:58 +02:00
# if using mariadb as contacts database :
2016-05-05 09:15:35 +02:00
mariadb:
image: mariadb:10.1
container_name: mariadb
volumes:
- /mnt/docker/mysql/db:/var/lib/mysql
environment:
- MYSQL_ROOT_PASSWORD=xxxxxxx
- MYSQL_DATABASE=rainloop
- MYSQL_USER=rainloop
- MYSQL_PASSWORD=xxxxxxx
```
#### Run !
```
docker-compose up -d
2016-09-24 12:46:58 +02:00
```