Simple, modern & fast web-based email client.
選択できるのは25トピックまでです。 トピックは、先頭が英数字で、英数字とダッシュ('-')を使用した35文字以内のものにしてください。
 
 
Andy 25cb0f5121
update rainloop to 1.16.0
2年前
etc refactor 2 4年前
Dockerfile update rainloop to 1.16.0 2年前
LICENSE refactor, cleanup and strip off the nginx 4年前
README.md refactor 2 4年前
start refactor, cleanup and strip off the nginx 4年前

README.md

Rainloop in docker

docker-compose.yml example

This will automatically populate the data under the /srv/data/rainloop/html and /srv/data/rainloop/nginx directories.

Make sure to create these directories first.

version: '3.3'

services:
  rainloop-fpm:
    image: yourrepo/rainloop:1.14.0
    restart: always
    networks:
      - backend
    volumes:
      - rainloop_html:/opt/rainloop
      - rainloop_nginx:/etc/nginx/conf.d

  rainloop-nginx:
    image: nginx:mainline-alpine
    restart: always
    networks:
      - backend
    volumes:
      - rainloop_html:/opt/rainloop
      - rainloop_nginx:/etc/nginx/conf.d
    depends_on:
      - rainloop-fpm
    # add whatever lables/directives you need to expose your nginx container

volumes:
  rainloop_html:
    driver: local
    driver_opts:
      type: none
      device: /srv/data/rainloop/html
      o: bind

  rainloop_nginx:
    driver: local
    driver_opts:
      type: none
      device: /srv/data/rainloop/nginx
      o: bind

updating the Rainloop

  1. Backup the data
cp -pr /srv/data/rainloop /srv/data/rainloop-1.13.0-bkp
  1. Update and reset the containers
docker-compose stop rainloop-fpm rainloop-nginx
docker-compose rm -f rainloop-fpm rainloop-nginx
docker volume rm srv_rainloop_html srv_rainloop_nginx
rm -rf -- /srv/data/rainloop/nginx/* /srv/data/rainloop/html/*
docker pull yourrepo/rainloop:1.14.0
docker-compose up -d
  1. Restore the backup
cd /srv/data

rsync -avHx --progress rainloop-1.13.0-bkp/html/data/_data_ rainloop/html/data/
chown -Rh --reference rainloop/html/data rainloop/html/data/_data_