An open API service indexing awesome lists of open source software.

https://github.com/hmes98318/nextcloud-custom

自託管的 Nextcloud 容器,部署於地端 K8s 集群上
https://github.com/hmes98318/nextcloud-custom

nextcloud nextcloud-docker nextcloud-server

Last synced: 7 days ago
JSON representation

自託管的 Nextcloud 容器,部署於地端 K8s 集群上

Awesome Lists containing this project

README

          

# nextcloud-custom
基於 Nextcloud 官方 image 修改的容器
修改成自託管 Nextcloud server 所需架構,進行配置優化。
並部署於地端 Kubernetes 集群上。

- **Web 服務**:使用 Nginx + PHP-FPM
- **資料庫**:連接外部的 MariaDB, Redis
- **存儲**:Nextcloud data 使用 NFS 掛載外部存儲 server (TrueNAS CORE)
- **檔案限制**:修改最大檔案上傳大小至 100GB
- **網頁載入優化**:優化 Nginx 配置,啟用 Brotli、gzip 壓縮,提高網頁載入速度
- **SSL**:優化 Nginx SSL 配置,提高安全性。

## Upgrade
Nextcloud 的版本升級後需進入容器執行以下命令,用於升級 Nextcloud 和資料庫資料。
```bash
sudo -u www-data ./occ upgrade
sudo -u www-data ./occ db:add-missing-columns
sudo -u www-data ./occ db:add-missing-indices
sudo -u www-data ./occ db:add-missing-primary-keys
```

## License
Copyright (C) 2025 [hmes98318](https://github.com/hmes98318)

Source: https://github.com/nextcloud/docker

The custom Nextcloud image is licensed under the **GNU General Public License v3.0**, see the [LICENCE](./LICENSE) file for details.