diff options
author | Quentin Dufour <quentin@deuxfleurs.fr> | 2020-07-05 23:15:50 +0200 |
---|---|---|
committer | Quentin Dufour <quentin@deuxfleurs.fr> | 2020-07-05 23:15:50 +0200 |
commit | 378953256025cc185fd5fe49b9700adfa17f0702 (patch) | |
tree | 6cfde96c75856003174b7cdddc31afa4d95320aa /docker/nextcloud/container-setup.sh | |
parent | 775bab3735c6d8ff650dbc8a96dbc0bb76586103 (diff) | |
parent | c344dacb65e967bef7a06e34adb02494d98cde77 (diff) | |
download | infrastructure-378953256025cc185fd5fe49b9700adfa17f0702.tar.gz infrastructure-378953256025cc185fd5fe49b9700adfa17f0702.zip |
Merge branch 'master' of git.deuxfleurs.fr:Deuxfleurs/deuxfleurs.fr
Diffstat (limited to 'docker/nextcloud/container-setup.sh')
-rwxr-xr-x | docker/nextcloud/container-setup.sh | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/docker/nextcloud/container-setup.sh b/docker/nextcloud/container-setup.sh new file mode 100755 index 0000000..8330291 --- /dev/null +++ b/docker/nextcloud/container-setup.sh @@ -0,0 +1,37 @@ +#!/bin/sh + +set -ex + +curl https://download.nextcloud.com/server/releases/nextcloud-19.0.0.zip > /tmp/nextcloud.zip +cd /var/www +unzip /tmp/nextcloud.zip +rm /tmp/nextcloud.zip +mv html html.old +mv nextcloud html + +cd html +mkdir data + +cd apps +wget https://github.com/nextcloud/tasks/releases/download/v0.13.1/tasks.tar.gz +tar xf tasks.tar.gz +wget https://github.com/nextcloud/maps/releases/download/v0.1.6/maps-0.1.6.tar.gz +tar xf maps-0.1.6.tar.gz +wget https://github.com/nextcloud/calendar/releases/download/v2.0.3/calendar.tar.gz +tar xf calendar.tar.gz +wget https://github.com/nextcloud/news/releases/download/14.1.11/news.tar.gz +tar xf news.tar.gz +wget https://github.com/nextcloud/notes/releases/download/v3.6.0/notes.tar.gz +tar xf notes.tar.gz +wget https://github.com/nextcloud/contacts/releases/download/v3.3.0/contacts.tar.gz +tar xf contacts.tar.gz +wget https://github.com/nextcloud/mail/releases/download/v1.4.0/mail.tar.gz +tar xf mail.tar.gz +wget https://github.com/nextcloud/groupfolders/releases/download/v6.0.6/groupfolders.tar.gz +tar xf groupfolders.tar.gz +rm *.tar.gz + +chown -R www-data:www-data /var/www/html + +cd /var/www/html +php occ |