Apply prettier formatting
This commit is contained in:
parent
6b4c4ccde4
commit
c498b3ced8
76 changed files with 123 additions and 202 deletions
|
|
@ -4,13 +4,14 @@ A full office suite and groupware proposition,
|
|||
though its main draw for most is the file synchronization abilities.
|
||||
AKA Dropbox replacement.
|
||||
|
||||
This software can grow enormous and enormously complicated,
|
||||
This software can grow enormous and enormously complicated,
|
||||
this Ansible setup role concentrates on 3 things:
|
||||
* a stable and secure base setup from the official docker container
|
||||
* automatic setup of an email pipeline so users can reset passwords and be updated of changes
|
||||
* the ability to use S3 object storage as the primary way of storing users' files
|
||||
|
||||
The rest should be taken care of either automatically,
|
||||
- a stable and secure base setup from the official docker container
|
||||
- automatic setup of an email pipeline so users can reset passwords and be updated of changes
|
||||
- the ability to use S3 object storage as the primary way of storing users' files
|
||||
|
||||
The rest should be taken care of either automatically,
|
||||
or supplied after the fact (if using different plugins or similar).
|
||||
|
||||
## Defaults
|
||||
|
|
@ -32,7 +33,7 @@ nextcloud_version: fpm
|
|||
nextcloud_db_version: 12
|
||||
```
|
||||
|
||||
The docker image version to be used in stack creation.
|
||||
The docker image version to be used in stack creation.
|
||||
The role sets up the `php-fpm` version of the official Nextcloud image.
|
||||
That means, Caddy is used in front as the server which presents all pages
|
||||
and access to files, the Nextcloud image itself only serves as the PHP data store.
|
||||
|
|
@ -41,17 +42,17 @@ If changing the version to one relying on Nextcloud's in-built Apache server,
|
|||
take care to change where the upstream proxy is pointing to since the Caddy server in front loses its meaning.
|
||||
|
||||
The second variable points to the docker image that should be used for the PostgreSQL database,
|
||||
with 12 pre-filled as default.
|
||||
with 12 pre-filled as default.
|
||||
You can put this to latest, but should take care to migrate the database correctly when an update rolls around,
|
||||
or it *will* destroy your data at some point.
|
||||
or it _will_ destroy your data at some point.
|
||||
Generally, it seems easier to pin this to a specific version and then only update manually.
|
||||
|
||||
```yml
|
||||
subdomain_alias: files
|
||||
```
|
||||
|
||||
If the deployed container should be served over a uri that is not the stack name.
|
||||
By default, it will be set to `files.yourdomain.com` -
|
||||
If the deployed container should be served over a uri that is not the stack name.
|
||||
By default, it will be set to `files.yourdomain.com` -
|
||||
if this option is not set it will be served on `nextcloud.yourdomain.com` instead.
|
||||
If you change or delete this, you should also change what `nextcloud_trusted_domains` points to.
|
||||
|
||||
|
|
@ -66,7 +67,7 @@ nextcloud_db_password: secretnextcloud
|
|||
```
|
||||
|
||||
Sets the default username and password for application and database.
|
||||
All of these variables are necessary to circumvent the manual installation process
|
||||
All of these variables are necessary to circumvent the manual installation process
|
||||
you would usually be faced with on first creating a Nextcloud instance.
|
||||
Ideally change all of these for your personal setup,
|
||||
but it is especially important to change the app admin login data since they are what is public facing.
|
||||
|
|
@ -77,7 +78,7 @@ nextcloud_trusted_domains: "{{ subdomain_alias }}.{{ server_domain }}"
|
|||
|
||||
The domains that are allowed to access your Nextcloud instance.
|
||||
Should point to any domains that you want it accessible on,
|
||||
can be a space-separated list of them.
|
||||
can be a space-separated list of them.
|
||||
Take care to include the sub-domain if your are accessing it through one of them.
|
||||
[Further explanation](https://blog.martyoeh.me/posts/2021-11-18-nextcloud-trusted-domains/).
|
||||
|
||||
|
|
@ -130,7 +131,6 @@ If your details are correct, Nextcloud should automatically set up S3 as its pri
|
|||
|
||||
Be careful if you switch an existing data volume of the Nextcloud image to S3
|
||||
as you will lose all access to existing files.
|
||||
The files *should* not be deleted at this point,
|
||||
The files _should_ not be deleted at this point,
|
||||
only access will be lost,
|
||||
but you are playing with fire at this point.
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue