Git Product home page Git Product logo

nextcloud-docker's Introduction

nextcloud-docker: persistent Nextcloud instance

Getting started

docker-compose up

Nextcloud will be running at http://localhost:48916

Go to this address in a web browser and set up an admin account, e.g., username "admin", password "password"

Notes

The docker-compose.yml file is modified from https://github.com/nextcloud/docker/blob/f4dbcf523a27ba240b29dcf92b24d0c20544b42d/.examples/docker-compose/insecure/postgres/apache/docker-compose.yml

To access from other devices on the local network, http://192.168.1.227:8080 must be added to "trusted_domains" (see https://help.nextcloud.com/t/howto-add-a-new-trusted-domain/26). Using the environment variable NEXTCLOUD_TRUSTED_DOMAINS didn't work, so instead, use a custom config.php file. This file must be given write access:

# grant write access to config.php
chmod a+w config.php

Actually it might be better to not replace the config.php file. Instead, go into the docker container (app) and run something like:

su -p www-data -s /bin/sh -c "php /var/www/html/occ config:system:set trusted_domains 1 --value=192.168.0.111"

Nextcloud cannot be accessed from outside the local network. This is (in part) because SSL needs to be set up. In the future, look into allowing this by doing something like this: https://github.com/nextcloud/docker/tree/master/.examples/docker-compose/with-nginx-proxy/postgres/apache

nextcloud-docker's People

Contributors

h1-the-swan avatar

Watchers

 avatar  avatar  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.