GithubHelp home page GithubHelp logo

marcio-lsantos / nextcloud-docker Goto Github PK

View Code? Open in Web Editor NEW

This project forked from librecodecoop/nextcloud-docker

0.0 0.0 0.0 87 KB

☁️ NextCloud with SSL and Docker

License: GNU Affero General Public License v3.0

Dockerfile 10.72% Shell 13.93% Makefile 75.35%

nextcloud-docker's Introduction

Languages avaliable

🇧🇷

NextCloud with SSL and Docker

Before first run

Edit the .env file to set your database password.

Create a network

docker network create reverse-proxy

Edit the docker-compose.yml and docker-compose.proxy.yml and change the environments to your necessity:

Environment service
VIRTUAL_HOST web
LETSENCRYPT_HOST web
LETSENCRYPT_EMAIL web
DEBUG nginx-letsencrypt

PS: Let's Encrypt only work in servers when the VIRTUAL_HOST and LETSENCRYPT_HOST have a valid public domain registered in a DNS server. Don't try to use in localhost, don't work!

After setup

After finish the setup, access this url: https://localhost/settings/admin/overview.

If is necessary run any occ command, run like this:

docker-compose exec -u www-data app ./occ db:add-missing-indices
docker-compose exec -u www-data app ./occ db:convert-filecache-bigint

PHP custom settings

If you need custom settings in PHP, change the file .docker/app/config/php.ini.

Run

docker-compose up -d
docker-compose -f docker-compose.proxy.yml up -d

Use a specific version of NextCloud

Change the Dockerfile in line 1 and put your prefered version of NextCloud.

Build the images, down the containers and get up again:

docker-compose build
docker-compose down
docker-compose up -d

If you want to see the changes, run:

docker-compose logs -ft

You will see this message in the logs and other many upgrade messages:

app_1      | 2020-04-28T19:49:38.568623133Z Initializing nextcloud 18.0.4.2 ...
app_1      | 2020-04-28T19:49:38.577733913Z Upgrading nextcloud from 18.0.3.0 ...

nextcloud-docker's People

Contributors

vitormattos avatar mateusrovedaa avatar marcio-lsantos avatar jalxes 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.