generated from coop-cloud/example
Added dictionaries and edited README. #10
@@ -5,3 +5,4 @@ NEXTCLOUD_DOMAIN=nextcloud.example.com
|
||||
ADMIN_USERNAME=admin
|
||||
SECRET_ADMIN_PASSWORD_VERSION=v1
|
||||
FRAME_ANCESTORS=
|
||||
DICTIONARIES=de_DE en_GB en_US es_ES fr_FR it nl pt_BR pt_PT
|
||||
@@ -18,14 +18,22 @@
|
||||
|
||||
1. Set up Docker Swarm and [`abra`](https://git.autonomic.zone/coop-cloud/abra)
|
||||
1. Deploy [`coop-cloud/traefik`](https://git.autonomic.zone/coop-cloud/traefik)
|
||||
1. `abra app new collabora` to install collabora.
|
||||
1. `abra app config YOURAPPDOMAIN` - be sure to change `$DOMAIN` to something that resolves to
|
||||
your Docker swarm box
|
||||
1. `abra app deploy YOURAPPDOMAIN`
|
||||
1. In nextcloud, go to Admin->Office, select "Use your own server" and enter only the DOMAIN (including https://) in "URL (and Port) of Collabora Online-server".
|
||||
|
||||
Admin Interface:
|
||||
|
||||
`https://YOURAPPDOMAIN/browser/dist/admin/admin.html`
|
||||
|
||||
## Languages for spell checking
|
||||
|
||||
To change default languages for spell checking, add or remove language-codes (and optionally country code) from the DICTIONARIES-list when configuring your app. Consult list of [language codes](https://en.wikipedia.org/wiki/List_of_ISO_639_language_codes) and [country codes](https://en.wikipedia.org/wiki/List_of_ISO_3166_country_codes). For example:
|
||||
|
||||
`DICTIONARIES=de_DE en_GB en_US es_ES fr_FR da_DK`
|
||||
|
||||
## Acknowledgements
|
||||
|
||||
Config'd with thanks to [the people behind this article](https://geek-cookbook.funkypenguin.co.nz/recipes/collabora-online/).
|
||||
|
||||
@@ -56,6 +56,7 @@ services:
|
||||
- DONT_GEN_SSL_CERT=true
|
||||
- NEXTCLOUD_DOMAIN=${NEXTCLOUD_DOMAIN}
|
||||
- FRAME_ANCESTORS
|
||||
- DICTIONARIES
|
||||
networks:
|
||||
- internal
|
||||
deploy:
|
||||
|
||||
+2
-1
@@ -7,7 +7,8 @@
|
||||
<!-- Note: 'default' attributes are used to document a setting's default value as well as to use as fallback. -->
|
||||
<!-- Note: When adding a new entry, a default must be set in WSD in case the entry is missing upon deployment. -->
|
||||
|
||||
<allowed_languages desc="List of supported languages of Writing Aids (spell checker, grammar checker, thesaurus, hyphenation) on this instance. Allowing too many has negative effect on startup performance." default="de_DE en_GB en_US es_ES fr_FR it nl pt_BR pt_PT ru">de_DE en_GB en_US es_ES fr_FR it nl pt_BR pt_PT ru</allowed_languages>
|
||||
<allowed_languages desc="List of supported languages of Writing Aids (spell checker, grammar checker, thesaurus, hyphenation) on this instance. Allowing too many has negative effect on startup performance." default="{{ env "DICTIONARIES" }}">{{ env "DICTIONARIES" }}</allowed_languages>
|
||||
|
jeppebundsgaard marked this conversation as resolved
|
||||
|
||||
|
||||
<sys_template_path desc="Path to a template tree with shared libraries etc to be used as source for chroot jails for child processes." type="path" relative="true" default="systemplate"></sys_template_path>
|
||||
<child_root_path desc="Path to the directory under which the chroot jails for the child processes will be created. Should be on the same file system as systemplate and lotemplate. Must be an empty directory." type="path" relative="true" default="jails"></child_root_path>
|
||||
|
||||
Reference in New Issue
Block a user
@jeppebundsgaard thanks for adding this. What is missing is a bump of the config version in abra.sh. I think you can leave it for now, as I will do it together with the upgrade to collabora 26.
@jeppebundsgaard FYI: another thing I just saw after merging is, that your change is not backwards compatible on another issue: deployments with older versions currently get the dictionaries hardcoded from the xml, but now the env variable is empty if they do not add it to their env file manually while upgrading. (What happens in reality quiet a lot) Therefore I will add the currently added languages as default value for DIRECTORIES env var in the compose file. So the behaviour will stay the same even if operators do not do anything besides the upgrade command
Good point, thanks!