feat: openId to id.limbosolutions.com
All checks were successful
/ continuous-deploy (push) Successful in 22s
All checks were successful
/ continuous-deploy (push) Successful in 22s
This commit is contained in:
24
README.md
24
README.md
@@ -4,8 +4,10 @@ Welcome to public repository of [https://cloud.limbosolutions.com](https://cloud
|
|||||||
|
|
||||||
Using [NextCloud](https://nextcloud.com/)
|
Using [NextCloud](https://nextcloud.com/)
|
||||||
|
|
||||||
- [command](#command)
|
- [Integrations](#integrations)
|
||||||
- [maintenance mode](#maintenance-mode)
|
- [OAuth2/OpenID Provider](#oauth2openid-provider)
|
||||||
|
- [cli](#cli)
|
||||||
|
- [maintenance mode](#maintenance-mode)
|
||||||
- [scan files](#scan-files)
|
- [scan files](#scan-files)
|
||||||
- [preview generator](#preview-generator)
|
- [preview generator](#preview-generator)
|
||||||
- [repair tree](#repair-tree)
|
- [repair tree](#repair-tree)
|
||||||
@@ -14,15 +16,23 @@ Using [NextCloud](https://nextcloud.com/)
|
|||||||
- [Setup and Deploy](#setup-and-deploy)
|
- [Setup and Deploy](#setup-and-deploy)
|
||||||
- [App](#app)
|
- [App](#app)
|
||||||
- [Infra](#infra)
|
- [Infra](#infra)
|
||||||
- [mariadb database](#mariadb-database)
|
- [Database](#database)
|
||||||
|
|
||||||
## command
|
## Integrations
|
||||||
|
|
||||||
|
### OAuth2/OpenID Provider
|
||||||
|
|
||||||
|
- <https://integrations.goauthentik.io/chat-communication-collaboration/nextcloud/#nextcloud-configuration/>
|
||||||
|
- <https://github.com/nextcloud/user_oidc>
|
||||||
|
- <https://apps.nextcloud.com/apps/user_oidc>
|
||||||
|
|
||||||
|
## cli
|
||||||
|
|
||||||
``` bash
|
``` bash
|
||||||
su -s /bin/bash www-data -c "php occ upgrade;"
|
su -s /bin/bash www-data -c "php occ upgrade;"
|
||||||
```
|
```
|
||||||
|
|
||||||
## maintenance mode
|
### maintenance mode
|
||||||
|
|
||||||
``` bash
|
``` bash
|
||||||
su -s /bin/bash www-data -c "php -d memory_limit=-1 /var/www/html/occ maintenance:mode --on;"
|
su -s /bin/bash www-data -c "php -d memory_limit=-1 /var/www/html/occ maintenance:mode --on;"
|
||||||
@@ -124,9 +134,9 @@ This script requires elevated cluster‑level permissions and must be executed o
|
|||||||
- services accounts:
|
- services accounts:
|
||||||
- Continuous deploy - Deployment RBAC (ServiceAccount + Role + RoleBinding)
|
- Continuous deploy - Deployment RBAC (ServiceAccount + Role + RoleBinding)
|
||||||
|
|
||||||
## mariadb database
|
## Database
|
||||||
|
|
||||||
**Connect to maria db:**
|
**Connect to db:**
|
||||||
|
|
||||||
``` bash
|
``` bash
|
||||||
kubectl exec -it nextcloud-mariadb-0 -- mariadb -u nextcloud -h nextcloud-mariadb.cloud-limbosolutions-com.svc.cluster.local -p
|
kubectl exec -it nextcloud-mariadb-0 -- mariadb -u nextcloud -h nextcloud-mariadb.cloud-limbosolutions-com.svc.cluster.local -p
|
||||||
|
|||||||
@@ -144,6 +144,12 @@ nextcloud:
|
|||||||
# 'appstoreenabled' => true,
|
# 'appstoreenabled' => true,
|
||||||
# 'appstoreurl' => 'https://apps.nextcloud.com/api/v1',
|
# 'appstoreurl' => 'https://apps.nextcloud.com/api/v1',
|
||||||
# );
|
# );
|
||||||
|
global.config.php: |-
|
||||||
|
<?php
|
||||||
|
$CONFIG = array (
|
||||||
|
'allow_local_remote_servers' => true
|
||||||
|
);
|
||||||
|
|
||||||
https.config.php: |-
|
https.config.php: |-
|
||||||
<?php
|
<?php
|
||||||
$CONFIG = array (
|
$CONFIG = array (
|
||||||
|
|||||||
Reference in New Issue
Block a user