Enable web updater and automate Hub updates
Co-Authored-By: Oz <oz-agent@warp.dev>
This commit is contained in:
@ -33,6 +33,14 @@ services:
|
||||
mkdir -p /var/cache/fontconfig
|
||||
chown -R www-data:www-data /var/cache/fontconfig
|
||||
printf "ServerName nxt.bhatfamily.in\n" > /etc/apache2/conf-enabled/servername.conf
|
||||
cat > /var/www/html/config/upgrade-disable-web.config.php <<'PHP'
|
||||
<?php
|
||||
$$CONFIG = array (
|
||||
'upgrade.disable-web' => false,
|
||||
);
|
||||
PHP
|
||||
chown www-data:www-data /var/www/html/config/upgrade-disable-web.config.php
|
||||
chmod 640 /var/www/html/config/upgrade-disable-web.config.php
|
||||
exec apache2-foreground
|
||||
env_file:
|
||||
- .env
|
||||
|
||||
Reference in New Issue
Block a user