Commit 8e64e38 1 parent 1dbae58 commit 8e64e38 Copy full SHA for 8e64e38
File tree 1 file changed +4
-2
lines changed
1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -27,7 +27,8 @@ services:
27
27
- echo "max_input_vars = 5000" >> /usr/local/etc/php/conf.d/max_input_vars.ini
28
28
29
29
# Link the document root to the expected path. Note: the TUGBOAT_ROOT environment variable is equivalent to the git repo root.
30
- - ln -snf "$TUGBOAT_ROOT" "${DOCROOT}"
30
+ # - ln -snf "$TUGBOAT_ROOT" "${DOCROOT}"
31
+ - ln -snf "$TUGBOAT_ROOT" "/var/www/html/"
31
32
32
33
# make required dirs and set permissions.
33
34
# - mkdir /var/www/moodledata
@@ -46,7 +47,8 @@ services:
46
47
# Install/update packages managed by composer
47
48
- composer install --optimize-autoloader --ignore-platform-req=ext-zip --ignore-platform-req=ext-intl
48
49
-
sudo -u www-data php admin/cli/install.php --non-interactive --agree-license --lang=en --wwwroot=https://$TUGBOAT_DEFAULT_SERVICE_URL_HOST --dataroot=/var/www/moodledata --dbtype=mariadb --dbhost=db --dbname=moodle --dbuser=moodle --dbpass=m00dl3ing --adminuser=admin --adminpass=Admin123! --prefix=m_ --fullname=PREVIEW --shortname=PREVIEW [email protected]
49
- - chown -R root $DOCROOT
50
+ # - chown -R root $DOCROOT
51
+ - chown -R root "/var/www/html/"
50
52
51
53
online :
52
54
- php admin/tool/generator/cli/maketestsite.php --size=S --bypasscheck
You can’t perform that action at this time.
0 commit comments