Skip to content

ariadata/dc-nextcloud

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Run self-hosted NextCloud by docker-compose

Build Status


1- Clone these repository to your system :

git clone https://github.com/ariadata/dc-nextcloud.git && cd dc-nextcloud && rm -rf .git

2- edit docker-compose.yml ( lines : 22,35 and 33 ) set strong password.

3- Run docker-compose file by using :

docker-compose up -d

4- Goto Nginx-Proxy-Manager admin panel and add this stack as proxy-host :

Domain : Your-FQDN you must pointed it before!

Schema : http

Name or IP : nextcloud

Port : 80

Config SSL Part

5- goto : https://Your-FQDN/

set default user/pass for admin

unckeck Install recommended apps

click finish setup

6- according to this article , edit config file for https using:

sudo nano ~/dc-nextcloud/data/config/config.php

add this line to end element of php array :

'overwriteprotocol' => 'https'

Done!