Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
FUSS Remote Access
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
FUSS Team
FUSS Remote Access
Commits
62be8c23
Verified
Commit
62be8c23
authored
Dec 15, 2019
by
Marco Marinello
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of gitlab.fuss.bz.it:fuss-team/fuss-nc
parents
8d32f34c
476791f4
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
11 additions
and
11 deletions
+11
-11
nextcloud-fuss/Dockerfile
nextcloud-fuss/Dockerfile
+1
-1
nextcloud-fuss/configure-fuss.sh
nextcloud-fuss/configure-fuss.sh
+9
-10
nextcloud-fuss/crontab
nextcloud-fuss/crontab
+1
-0
No files found.
nextcloud-fuss/Dockerfile
View file @
62be8c23
...
...
@@ -20,7 +20,7 @@ COPY configure-fuss.sh /
COPY
crontab /etc
COPY
000-default.conf /etc/apache2/sites-available
RUN
a2enmod rewrite
RUN
a2enmod rewrite
ssl
ENTRYPOINT
["/configure-fuss.sh"]
CMD
["apache2-foreground"]
nextcloud-fuss/configure-fuss.sh
View file @
62be8c23
...
...
@@ -25,19 +25,18 @@ test -e /usr/local/share/ca-certificates/fuss.bz.it/fuss.crt || (
)
# Configure certbot
if
[
!
-e
/etc/letsencrypt/
live
]
;
then
if
[
!
-e
/etc/letsencrypt/
accounts/10.0.101.50
\:
4001/
]
;
then
certbot register
\
--non-interactive
\
--agree-tos
\
--register-unsafely-without-email
\
--server
https://
${
ACME_SERVER
}
:4001/acme/acme/directory
else
certbot
\
--apache
\
--non-interactive
\
--server
https://
${
ACME_SERVER
}
:4001/acme/acme/directory
\
-d
${
NEXTCLOUD_INTERNAL_DOMAIN
}
fi
certbot
\
--apache
\
--non-interactive
\
--server
https://
${
ACME_SERVER
}
:4001/acme/acme/directory
\
-d
${
NEXTCLOUD_INTERNAL_DOMAIN
}
# Enable apps
...
...
@@ -130,7 +129,7 @@ EOF
rm
/tmp/fe_conf.txt
fi
# Install and configure
Collabora Onlin
e
# Install and configure
the FUSS Online Collaboration Suit
e
# at the moment we're unable to reach github assets so we
# need to use a our own mirror
rm
-rf
/var/www/html/apps/richdocuments
...
...
@@ -138,8 +137,8 @@ wget -O /tmp/richdocuments.tar.gz https://access.fuss.bz.it/static/nc_cdn/apps/r
tar
-C
/var/www/html/apps
-xvzf
/tmp/richdocuments.tar.gz
run_as
'php /var/www/html/occ app:enable richdocuments'
run_as
'php /var/www/html/occ config:app:set richdocuments enabled --value yes'
run_as
'php /var/www/html/occ config:app:set richdocuments wopi_url --value "https://
collabora
.access.fuss.bz.it"'
run_as
'php /var/www/html/occ config:app:set richdocuments public_wopi_url --value "https://
collabora
.access.fuss.bz.it"'
run_as
'php /var/www/html/occ config:app:set richdocuments wopi_url --value "https://
onlinesuite
.access.fuss.bz.it"'
run_as
'php /var/www/html/occ config:app:set richdocuments public_wopi_url --value "https://
onlinesuite
.access.fuss.bz.it"'
# Start cron
...
...
nextcloud-fuss/crontab
View file @
62be8c23
...
...
@@ -9,3 +9,4 @@ PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin
# m h dom mon dow user command
* * * * * www-data php -f /var/www/html/cron.php
0 * * * * www-data php /var/www/html/occ files:scan --all
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment