fix: doc->docs

This commit is contained in:
2023-03-12 13:25:52 +00:00
parent 8aeeea1e02
commit b3ba74e40e
2 changed files with 0 additions and 0 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.4 KiB

46
docs/setup.md Normal file
View File

@@ -0,0 +1,46 @@
# Setup
- Docker
_Currently hosted on an ubuntu lxc container with docker and portainer [+ information](https://git.limbosolutions.com/kb/lxc)._
- [NextCloud Custom Docker Image](../docker/Dockerfile) with smbclient extensions
- [Duplicati Image with mySql client](https://git.limbosolutions.com/kb/duplicati/src/branch/main/docker/mysqlclient/README.md)
[Docker Compose File](../docker/docker-compose.yaml)
## Backup & Restore
Using [duplicati](https://git.limbosolutions.com/kb/duplicati) to daily backups of files and databases.
### Restore Database
```bash
#select a file to import
ls /db-dumps
#select a file to import
DB_FILE= "file name to import"
mysql --host db -uroot -p ${MYSQL_DATABASE} < /db-dumps/$DB_FILE
#root password (root password is the enviromnent variable ${MYSQL_ROOT_PASSWORD})
```
## HomeAssistant DashBoard
![Home Assistant Dashboard](images/nextcloud-homessistant-dashboard.png "Home Assistant Dashboard")
```yaml
type: vertical-stack
cards:
- type: entities
entities:
- type: weblink
name: Homepage
url: http://cloud.limbosolutions.com
- type: weblink
name: Duplicati
url: http://wansrv01.dev.lan:8203
- type: weblink
name: Git
url: https://git.limbosolutions.com/marcio.fernandes/nextcloud/
title: cloud.limbosolutions.com
```