Coder Social home page Coder Social logo

xiaoyan1985 / docker-nextcloud Goto Github PK

View Code? Open in Web Editor NEW

This project forked from greyltc/docker-nextcloud

0.0 1.0 1.0 32 KB

A docker container for the Nextcloud server: a safe home for all your data

License: GNU General Public License v3.0

PHP 8.97% Shell 91.03%

docker-nextcloud's Introduction

docker-nextcloud

This is just like my ownCloud server Docker container repo only it's for Nextcloud. Here is some background relating to the ownCloud/Nextcloud fissure.

Simple to use Docker container with the latest stable Nextcloud server release, complete with all the bells and whistles. This project is 100% transparent and trustable, every file in the resulting docker image is traceable and inspectable by following up the docker image depenancy tree which starts with my Arch Linux base image.

Please report any issues or improvement ideas to the github issue tracker
Pull requests welcome! Let's work together!

Say thanks by adding a star here and/or here.

Usage

  1. Install docker
  2. Download and start the Nextcloud server instance
docker pull greyltc/nextcloud
docker run --name nc -p 80:80 -p 443:443 -d greyltc/nextcloud
  1. Access your Nextcloud server
    Point your web browser to https://localhost/nextcloud
    Note: If you're on MacOS or Windows you can't use "localhost" here. Run docker-machine ip default to figure out what you should use in place of localhost.

  2. Setup nextcloud
    Follow the instructions in your browser to perform the initial setup of your server.

  3. [Optional] Stop the server instance

docker stop nc

You can restart the container later with docker start nc

  1. [Optional] Delete the server instance
docker rm nc #<--WARNING: this will delete anything stored inside the container
  1. Profit.

Updating Nextcloud

Periodically new NextCloud server versions will be released. You should probably keep your server on whatever the latest stable version is. Whenever a new update is released, you'll see a banner appear across the top of the NextCloud web interface indicating that it's time to upgrade. I do not reccommend somehow switching your already running NextCloud server to a new version of this container (although you're welcome to try if your data isn't critical).

You should follow the official NextCloud upgrade instructions for updating your NextCloud server. You'll need to change the permissions of some files in the container to allow them to be updated this way. I've tried to make this straightforward by including a script to manage the permissions for you. Before you run the updater app (as described in the official instructions), run docker exec -it nc sh -c 'set-nc-perms upgrade'. Then after you've completed the upgrade, set the permissions back to their "safer" default values like this: docker exec -it nc sh -c 'set-nc-perms runtime'. Where nc is the name you chose when running your container.

docker-nextcloud's People

Contributors

greyltc avatar travis-r6s avatar xiaoyan1985 avatar

Watchers

 avatar

Forkers

merryjing

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.