This commit is contained in:
DoTheEvo 2023-02-19 11:40:28 +01:00
parent 22e9d8d2f4
commit 5071cd4c77
1 changed files with 12 additions and 5 deletions

View File

@ -12,9 +12,9 @@ File share & sync.
* [Github](https://github.com/nextcloud/server) * [Github](https://github.com/nextcloud/server)
* [DockerHub](https://hub.docker.com/_/nextcloud/) * [DockerHub](https://hub.docker.com/_/nextcloud/)
Nextcloud is an open source software for sharing files, calendar, Nextcloud is an open source software for sharing files, calendar, general office
and general office collaboration stuff. Most people know it and use it collaboration stuff. Most people know it and use it as an alternative
as an alternative to onedrive/google drive. to onedrive/google drive.
The Nextcloud server is written in PHP and JavaScript. The Nextcloud server is written in PHP and JavaScript.
For remote access it employs sabre/dav, an open-source WebDAV server. For remote access it employs sabre/dav, an open-source WebDAV server.
@ -66,6 +66,8 @@ Five containers to spin up
file locking file locking
* **nextcloud-cron** - for periodic maintenance in the background * **nextcloud-cron** - for periodic maintenance in the background
Note that `nextcloud_data` is mounted in 3 containers.
`docker-compose.yml` `docker-compose.yml`
```yml ```yml
version: '3' version: '3'
@ -150,7 +152,7 @@ TRUSTED_PROXIES=caddy
NC_default_phone_region=SK # CHANGE TO YOUR COUNTRY CODE NC_default_phone_region=SK # CHANGE TO YOUR COUNTRY CODE
# USING SENDINBLUE FOR SENDING EMAILS # USING SENDINBLUE FOR SENDING EMAILS
MAIL_DOMAIN=example.com MAIL_DOMAIN=nextcloud
MAIL_FROM_ADDRESS=nextcloud MAIL_FROM_ADDRESS=nextcloud
SMTP_SECURE=tls SMTP_SECURE=tls
SMTP_HOST=smtp-relay.sendinblue.com SMTP_HOST=smtp-relay.sendinblue.com
@ -234,7 +236,8 @@ code notification there.
# Troubleshooting # Troubleshooting
* *old stuff that was here is not applicable anymore* * moving between docker hosts, might need to take ownership of directories<br>
exec in to `nextcloud-app`; `/var/www/html`; `chown www-data:www-data *`
# Extra info # Extra info
@ -264,6 +267,10 @@ Manual image update:
- `docker-compose up -d`</br> - `docker-compose up -d`</br>
- `docker image prune` - `docker image prune`
Updates tend to be problematic with Nexcloud. Inestigating what went wrong
in between major version updates... have backups before doing update.
And have the god damn tags on docker images.
# Backup and restore # Backup and restore
#### Backup #### Backup