Go to file
Johan Koke 0b220f6af0 Update 'env' 2022-05-27 16:35:09 +00:00
.gitignore added lool 2021-09-25 16:19:33 +00:00
README.md first commmit 2021-09-03 18:19:56 +01:00
collabora-nginx-adv.txt Add 'collabora-nginx-adv.txt' 2022-05-27 16:31:41 +00:00
docker-compose.yaml Update 'docker-compose.yaml' 2022-05-27 16:29:57 +00:00
env Update 'env' 2022-05-27 16:35:09 +00:00
loolwsd.xml added lool 2021-09-25 16:19:33 +00:00
nextcloud first commmit 2021-09-03 18:19:56 +01:00

README.md

Nextcloud docker-compose recipe

Scope

This repo is intended for anyone who wishes to self host Nextcloud in docker containers and has been developed based on several tutorials I found online. After cloning the repo for the first time, you'll need to run the init.sh script to create the required folders.

folders required

  1. data
    • app ( folder to store Nextcloud app )
    • sql ( folder for the mariadb container to store database files )
    • config ( easy accces to the config.php file for nextcloud )
    • theme ( theme folder, which I don't use but it's there for anyone who wants to )

Requirements

To use this repo you will need an Ubunto/Debian based Linux system with docker and docker-compose pre installed. The scripts and files also assume that the default admin user id is 1000 which is the defualt for Ubunto server.

sudo apt update && apt upgrade -y 
sudo apt install docker docker-compose

Clone this repo to the folder where you'd like to run your Nextcloud instance from.

git clone https://git.koke.estate/Docker/nextcloud.git

Steps to install first instance

  1. Prepare .env file

    cp env .env nano .env

  2. Start docker containers

    docker-compose up -d

or

./nextcloud up