-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
a3fa5b2
commit b02cdb0
Showing
2 changed files
with
12 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
#!/bin/bash | ||
export PHP_MEMORY_LIMIT="512M" | ||
php console.php maintenance:install --admin-user admin --admin-pass $MARIADB_ROOT_PASSWORD --database "mysql" --database-name "nextcloud" --database-user "root" --database-pass "$MARIADB_ROOT_PASSWORD" --database-host "db" | ||
php console.php status | ||
php console.php app:enable solid | ||
sed -i '96 i\ RewriteRule ^\\.well-known/openid-configuration /apps/solid/openid [R=302,L]' /var/www/html/.htaccess | ||
sed -i "25 i\ 1 => 'server'," /var/www/html/config/config.php | ||
sed -i "26 i\ 2 => 'nextcloud.local'," /var/www/html/config/config.php | ||
sed -i "27 i\ 3 => 'thirdparty'," /var/www/html/config/config.php | ||
sed -i "28 i\ 4 => '$HOST'," /var/www/html/config/config.php | ||
echo configured |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters