mirror of
https://github.com/davestephens/ansible-nas
synced 2025-01-13 03:58:47 +00:00
Duplicate website/docs/applications/other/nextcloud.md history in roles/nextcloud/docs/ history.
This commit is contained in:
parent
ec0d2c2361
commit
c38c2ff9c7
1 changed files with 27 additions and 0 deletions
27
roles/nextcloud/docs/nextcloud.md
Normal file
27
roles/nextcloud/docs/nextcloud.md
Normal file
|
@ -0,0 +1,27 @@
|
||||||
|
---
|
||||||
|
title: "Nextcloud"
|
||||||
|
---
|
||||||
|
|
||||||
|
Homepage: <https://nextcloud.com>
|
||||||
|
|
||||||
|
## Usage
|
||||||
|
|
||||||
|
Set `nextcloud_enabled: true` in your `inventories/<your_inventory>/nas.yml` file.
|
||||||
|
|
||||||
|
Tread carefully.
|
||||||
|
|
||||||
|
External access may require that you manually configure your Fully Qualified Domain Name (FQDN) as a trusted domain within the application. There is an environment variable set up for this in the "nextcloud task" which will most likely make manual configuration unnecessary. If you get the following [screenshot](https://docs.nextcloud.com/server/14/admin_manual/installation/installation_wizard.html#trusted-domains) warning when trying to access nextcloud externally you'll need to manually set it up.
|
||||||
|
|
||||||
|
This can be accomplished in two commands.
|
||||||
|
|
||||||
|
```bash
|
||||||
|
# On the server where the docker containers are running
|
||||||
|
$ docker exec -it --user www-data nextcloud /bin/bash
|
||||||
|
$ php occ config:system:set trusted_domains INDEX_FOR_NEW_ENTRY_SEE_DOCS_LINK_BELOW --value=YOUR_FQDN_HERE --update-only
|
||||||
|
```
|
||||||
|
|
||||||
|
The above commands are documented in the administration guide for Nextcloud:
|
||||||
|
|
||||||
|
* [set array values](https://docs.nextcloud.com/server/14/admin_manual/configuration_server/occ_command.html#setting-an-array-configuration-value)
|
||||||
|
|
||||||
|
* [docker container docs, references environment variables](https://github.com/nextcloud/docker)
|
Loading…
Reference in a new issue