File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ #! /bin/bash
2+ export PHP_MEMORY_LIMIT=" 512M"
3+ 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"
4+ php console.php status
5+ php console.php app:enable solid
6+ sed -i ' 96 i\ RewriteRule ^\\.well-known/openid-configuration /apps/solid/openid [R=302,L]' /var/www/html/.htaccess
7+ sed -i " 25 i\ 1 => 'server'," /var/www/html/config/config.php
8+ sed -i " 26 i\ 2 => 'nextcloud.local'," /var/www/html/config/config.php
9+ sed -i " 27 i\ 3 => 'thirdparty'," /var/www/html/config/config.php
10+ sed -i " 28 i\ 4 => '$HOST '," /var/www/html/config/config.php
11+ echo configured
Original file line number Diff line number Diff line change @@ -30,5 +30,4 @@ docker run -d --name=nextcloud --network=host -v /root/tls:/tls solid-nextcloud
3030
3131sleep 15
3232
33- docker exec -u www-data -it -e SERVER_ROOT=https://$HOST nextcloud sh /init.sh
34- docker exec -u www-data -it -e SERVER_ROOT=https://$HOST nextcloud sed -i " 28 i\ 4 => '$HOST '," /var/www/html/config/config.php
33+ docker exec -u www-data -it -e HOST=$HOST -e MARIADB_ROOT_PASSWORD=$MARIADB_ROOT_PASSWORD nextcloud sh /init-live.sh
You can’t perform that action at this time.
0 commit comments