The repository includes a Docker Compose setup for Nextcloud with Redis, Nginx, PHP and MariaDB.
Before you begin, ensure you have the following prerequisites:
- Install Git:
sudo apt update && sudo apt install git
- Install Docker Compose: https://docs.docker.com/engine/install/
- Clone this repository using the following command:
git clone https://github.com/CubyVerse/docker-compose-nextcloud
- Change into the project directory:
cd docker-compose-nextcloud
- Perform a Git pull to ensure you have the latest updates:
git pull
- Run the generation script and follow the prompts:
./generate-env.sh
- Customize settings if needed by editing the
.env
file. - Run Docker Compose to build and start the application containers in the background:
docker compose up -d --build
- Access the application in your web browser.
You can customize the project configuration by modifying the .env
file. This file contains various environment variables that control the behavior of the application.
If you want you can add these lines into the nextcloud file (config.php):
'skeletondirectory' => '',
'allow_user_to_change_display_name' => false,
'auto_logout' => true,
'auth.bruteforce.protection.enabled' => true,
'default_language' => '',
'default_locale' => '',
'default_phone_region' => '',
'knowledgebaseenabled' => false,
We welcome contributions from the community. To contribute, follow these steps:
- Fork the repository.
- Create a new branch.
- Make your enhancements or fixes.
- Submit a pull request.