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 集群上
- Host: GitHub
- URL: https://github.com/hmes98318/nextcloud-custom
- Owner: hmes98318
- License: agpl-3.0
- Created: 2025-01-06T02:44:13.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2025-11-21T17:24:09.000Z (4 months ago)
- Last Synced: 2025-11-21T17:29:53.129Z (4 months ago)
- Topics: nextcloud, nextcloud-docker, nextcloud-server
- Language: Dockerfile
- Homepage:
- Size: 66.4 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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.