removed mariadb from hel chart, after problems with continuous deploy
This commit is contained in:
21
README.md
21
README.md
@@ -12,6 +12,7 @@ Using [NextCloud](https://nextcloud.com/)
|
||||
- [delete file locks](#delete-file-locks)
|
||||
- [Setup](#setup)
|
||||
- [Requirements - infra](#requirements---infra)
|
||||
- [mariadb database](#mariadb-database)
|
||||
|
||||
## command
|
||||
|
||||
@@ -62,6 +63,9 @@ su -s /bin/bash www-data -c "php occ files:repair-tree"
|
||||
|
||||
## Setup
|
||||
|
||||
- deploy mariadb
|
||||
- nextcloud helm chart
|
||||
|
||||
```bash
|
||||
./ops-scripts/apply-app.sh
|
||||
```
|
||||
@@ -71,3 +75,20 @@ su -s /bin/bash www-data -c "php occ files:repair-tree"
|
||||
```bash
|
||||
./ops-scripts/apply-infra.sh
|
||||
```
|
||||
|
||||
## mariadb database
|
||||
|
||||
**Connect to maria db:**
|
||||
|
||||
``` bash
|
||||
kubectl exec -it nextcloud-mariadb-0 -- mariadb -u nextcloud -h nextcloud-mariadb.cloud-limbosolutions-com.svc.cluster.local -p
|
||||
```
|
||||
|
||||
**Restore database:**
|
||||
|
||||
``` bash
|
||||
kubectl run mysql-client -i --rm \
|
||||
--image=mysql:latest --restart=Never -- \
|
||||
mysql -h nextcloud-mariadb.cloud-limbosolutions-com.svc.cluster.local \
|
||||
-u ???? -p???? nextcloud < ./tmp/host-nextcloud-full-backup.sql
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user