Skip to content

Commit

Permalink
Update nextcloud and apps to production versions
Browse files Browse the repository at this point in the history
  • Loading branch information
LoanR committed Jun 7, 2024
1 parent a3b8514 commit a681c91
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion nextcloud/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM nextcloud:25
FROM nextcloud:28.0.6

# cf https://github.com/nextcloud/docker/blob/master/24/apache/Dockerfile

Expand Down
2 changes: 1 addition & 1 deletion nextcloud/apache2-sessiontoken
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ sed -i -e '5!d' -e 's/[\t ]//g' /var/www/conf/key.txt
su -p "www-data" -s /bin/sh -c "php occ app:enable sessiontoken"

## install and configure webapppassword
wget -qO- https://github.com/digital-blueprint/webapppassword/releases/download/v23.1.0/webapppassword.tar.gz | tar xvz -C /var/www/html/apps/
wget -qO- https://github.com/digital-blueprint/webapppassword/releases/download/v24.4.0/webapppassword.tar.gz | tar xvz -C /var/www/html/apps/
chown -R www-data: /var/www/html/apps/webapppassword
sed -i "/'datadirectory'/a 'webapppassword.origins' => ['$NEXTCLOUD_ALLOW_ORIGIN']," /var/www/html/config/config.php
su -p "www-data" -s /bin/sh -c "php occ app:enable webapppassword"
Expand Down

0 comments on commit a681c91

Please sign in to comment.