NextCloud

Just another WordPress site

NextCloud

We came across nextcloud in our search to have something to store files and/or share files, and it turned out to be so much more than that. And the beauty of it, is that it is totally free, as long as you do not use it commercially. It is packed with lots of features.

Have a look at their site: https://nextcloud.com

version: '2'

services:
  db:
    image: mariadb
    container_name: NextCloudFamilyDb
    restart: always
    command: --transaction-isolation=READ-COMMITTED --binlog-format=ROW
    volumes:
      - nextclouddb:/var/lib/mysql
    environment:
      - MYSQL_ROOT_PASSWORD=###{password}###
      - MYSQL_PASSWORD=###{password}###
      - MYSQL_DATABASE=nextcloud
      - MYSQL_USER=###{user name}###
    networks:
      - nginx-proxy

  app:
    image: nextcloud
    container_name: NextCloudFamily
    restart: always
    expose:
      - 80
      - 443
    links:
      - db
    volumes:
      - nextcloud:/var/www/html
      - /mnt/secdrive/backup_family:/backup
    environment:
      - MYSQL_PASSWORD=###{password}###
      - MYSQL_DATABASE=nextcloud
      - MYSQL_USER=nextcloud
      - MYSQL_HOST=db
      - VIRTUAL_HOST=###{domain name}###
      - LETSENCRYPT_HOST=c###{domain name}###
      - LETSENCRYPT_EMAIL=###{email address}###
    networks:
      - nginx-proxy

volumes:
  nextcloud:
    external:
      name: vol_NextCloudFamily
  nextclouddb:
    external:
      name: vol_NextCloudFamilyDb

networks:
  nginx-proxy:
    external:
      name: proxy_nginx

Leave a Reply

Your email address will not be published. Required fields are marked *