fix: doc->docs
This commit is contained in:
BIN
docs/images/nextcloud-homessistant-dashboard.png
Normal file
BIN
docs/images/nextcloud-homessistant-dashboard.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 8.4 KiB |
46
docs/setup.md
Normal file
46
docs/setup.md
Normal 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
|
||||
|
||||

|
||||
|
||||
```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
|
||||
```
|
||||
Reference in New Issue
Block a user