Git Product home page Git Product logo

docker-seafile's Introduction

This project is about creating a set of Docker containers to run a Seafile service.

Note: only seems to be working on a Linux host at the moment. If you are a Mac user and get it to work, please do tell me.

Unfortunately, this breaks every now and then with a new Seafile release, because of the really unfortunate and fragile way Seafile needs to be installed. I will fix it whenever I realize that is the case, but the setup process might be broken at any time.

The setup consists of a data-only container, which encapsulates all volumes for all containers in order to make the configuration of the related data storage easier.

Features

  • MariaDB as backend database
  • nginx as web-server frontend
    • install script creates self-signed certificates if not present
    • preconfigured to only allow https
    • preconfigured webdav
  • configurable cron-job for garbage collection
  • configurable cron-job for backup
  • option to use either the community version, or the professional one (although the latter only has basic support at the moment)

Documentation

Quickstart

For this quickstart to work, you need to have Docker, v 1.4+ and Docker compose, v 1.1+ installed. Also, you need to add the line:

127.0.0.1     localhost.home

to the file /etc/hosts. Use localhost.home as the hostname when asked, and answer the rest of the questions according to the config section here.

git clone https://github.com/makkus/docker-seafile.git
cd docker-seafile
sudo ./first-time-setup.sh
...
...
<enter admin email and password>
...
...
firefox https://localhost.home/seafile
(accept insecure host cert when browser warns)

TODO

  • make sure backup & upgrade scripts work, which they probably do not, fix if necessary
  • scripts to restore from backup
  • more configuration options upfront
  • configurable cron jobs
  • configurable backup scripts
  • remove old backups
  • revisit/simplify services/runit start files
  • add memcached
  • better support for pro version

Thanks

  • Github user 'JensErat', for pointing me in the right direction with his docker-seafile repo

docker-seafile's People

Contributors

boyaq avatar adimit avatar

Watchers

Alimjan avatar  avatar James Cloos avatar Ezmet avatar EzimetYusup avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.