Nextcloud docker-compose application for libre.sh-v1
Switch branches/tags
Nothing to show
Clone or download
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
config
scripts
.gitignore
Dockerfile Update to NC13 Mar 8, 2018
LICENSE Initial commit Aug 6, 2016
README.md
docker-compose.yml Pin mysql version May 17, 2018
env-sample mail config with env var Jan 10, 2018
nginx.conf Remove SAMEORIGIN header Mar 31, 2018

README.md

Nextcloud

A safe home for all your data. Access & share your files, calendars, contacts, mail & more from any device, on your terms.

How to use this image

The easiest is to use our docker-compose.yml.

Make sure you have docker-compose installed. And then:

git clone https://github.com/indiehosters/nextcloud.git
cd nextcloud
MYSQL_ROOT_PASSWORD=mystrongpassword docker-compose up

You can now access your instance on the port 80 of the IP of your machine (not recommended for production).

Access it from Internet

We recommend the usage of TLS, so the easiest is to use a TLS capable reverse proxy. Here are 2 examples:

You can also modify manually the nginx configuration file and map the TLS port of the host to the container.

Installation

Once started, you'll arrive at the configuration wizard. At the Database Setup step, please enter the following:

  • Database Server: db
  • Login: root
  • Password: MYSQL_ROOT_PASSWORD
  • Database Name: nextcloud (or you can choose)

And leave the rest as default.

Then you can continue the installation with the super user.

Backup

In order to backup, just run the ./pre-backup script. And copy all the data to a safe place.

Contribute

Pull requests are very welcome!

We'd love to hear your feedback and suggestions in the issue tracker: github.com/indiehosters/nextcloud/issues.