2019-09-13 19:48:21 +00:00
|
|
|
# Docker Nextcloud mit Mariadb und fpm
|
|
|
|
|
2019-09-14 19:23:18 +00:00
|
|
|
Anleitung: https://github.com/nextcloud/docker
|
|
|
|
|
|
|
|
## Anwendung bedienen
|
|
|
|
Nextcloud starten
|
|
|
|
```
|
|
|
|
cd /path/to/deploy/folder
|
|
|
|
docker-compose up -d
|
|
|
|
```
|
|
|
|
Nextcloud stoppen
|
|
|
|
```
|
|
|
|
docker-compose down
|
|
|
|
```
|
|
|
|
Nextcloud aktualisieren
|
|
|
|
```
|
|
|
|
docker-compose down
|
|
|
|
docker-compose pull
|
|
|
|
docker-compose up -d
|
|
|
|
```
|
2019-09-23 08:00:14 +00:00
|
|
|
## occ
|
2019-09-23 08:01:02 +00:00
|
|
|
docker
|
|
|
|
```
|
|
|
|
docker exec --user www-data CONTAINER_ID php occ
|
|
|
|
```
|
|
|
|
docker-compose
|
2019-09-23 08:00:14 +00:00
|
|
|
```
|
|
|
|
docker-compose exec --user www-data app php occ
|
|
|
|
```
|
2019-09-14 19:23:18 +00:00
|
|
|
|
|
|
|
## Datenbank
|
|
|
|
MySQL import
|
|
|
|
```
|
|
|
|
docker exec -i nextcloud-db mysql -uroot -pnextcloud nextcloud < SQLFILE.sql
|
|
|
|
```
|
|
|
|
MySQL Dump
|
|
|
|
```
|
|
|
|
mysqldump -u root -pnextcloud nextcloud > SQLFILE.sql
|
2019-09-26 19:04:27 +00:00
|
|
|
```
|
|
|
|
|
|
|
|
## Backup
|