Skip to content

Commit 8e64e38

Browse files
authored
Update config.yml
1 parent 1dbae58 commit 8e64e38

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

.tugboat/config.yml

+4-2
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,8 @@ services:
2727
- echo "max_input_vars = 5000" >> /usr/local/etc/php/conf.d/max_input_vars.ini
2828

2929
# 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/"
3132

3233
#make required dirs and set permissions.
3334
#- mkdir /var/www/moodledata
@@ -46,7 +47,8 @@ services:
4647
# Install/update packages managed by composer
4748
- composer install --optimize-autoloader --ignore-platform-req=ext-zip --ignore-platform-req=ext-intl
4849
- 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/"
5052

5153
online:
5254
- php admin/tool/generator/cli/maketestsite.php --size=S --bypasscheck

0 commit comments

Comments
 (0)