FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
nextcloud-docker-dev/scripts/enable-collabora at master · nextcloud/nextcloud-docker-dev · GitHub
Uh oh!
There was an error while loading.
Please reload this page
.
nextcloud
/
nextcloud-docker-dev
Public
Notifications
You must be signed in to change notification settings
Fork
103
Star
189
Code
Issues
39
Pull requests
33
Actions
Projects
Security and quality
0
Insights
Additional navigation options
Code
Issues
Pull requests
Actions
Projects
Security and quality
Insights
Expand file tree
Breadcrumbs
nextcloud-docker-dev
/
scripts
/
enable-collabora
Copy path
More file actions
More file actions
Latest commit
History
History
History
executable file
·
32 lines (25 loc) · 1007 Bytes
Breadcrumbs
nextcloud-docker-dev
/
scripts
/
enable-collabora
Copy path
File metadata and controls
executable file
·
32 lines (25 loc) · 1007 Bytes
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
#!
/usr/bin/env bash
set
-e
SCRIPT_DIR=
$(
cd
"
$(
dirname
"
${BASH_SOURCE[0]}
"
)
"
&
>
/dev/null
&&
pwd
)
#
shellcheck source=example.env
source
"
${SCRIPT_DIR}
/../.env
"
#
shellcheck source=scripts/functions.sh
source
"
${SCRIPT_DIR}
/functions.sh
"
if
[
-z
"
$1
"
]
then
echo
"
Usage
$0
CONTAINER
"
exit
1
fi
CONTAINER=
$1
function
occ()
{
docker_compose
exec
"
$CONTAINER
"
sudo -E -u www-data
"
./occ
"
"
$@
"
}
echo
"
Setting up Collabora with collabora
$DOMAIN_SUFFIX
on
$CONTAINER
"
docker_compose up -d collabora
occ app:enable richdocuments --force
occ config:app:set richdocuments wopi_url --value=
"
${PROTOCOL
:-
http}
://collabora
${DOMAIN_SUFFIX}
"
occ config:app:set richdocuments public_wopi_url --value=
"
${PROTOCOL
:-
http}
://collabora
${DOMAIN_SUFFIX}
"
occ config:app:set richdocuments disable_certificate_verification --value=
"
yes
"
occ config:system:set allow_local_remote_servers --value
true
--type bool
occ config:system:set gs.trustedHosts 0 --value
"
*
${DOMAIN_SUFFIX}
"
occ richdocuments:activate-config
Back
|
FazBrowse Home
|
New Git URL