fix confs etc

This commit is contained in:
Andras Bacsai
2024-12-10 10:46:05 +01:00
parent 854fd3eab2
commit 3893754a10
15 changed files with 99 additions and 28 deletions

View File

@@ -1,5 +1,12 @@
#!/command/execlineb -P
# Use with-contenv to ensure environment variables are available
with-contenv
cd /var/www/html
foreground {
s6-sleep 5
php /var/www/html/artisan start:horizon
php
artisan
start:horizon
}

View File

@@ -1,5 +1,22 @@
#!/command/execlineb -P
foreground { composer -d /var/www/html/ install }
foreground { php /var/www/html/artisan migrate --step }
foreground { php /var/www/html/artisan dev --init }
# Use with-contenv to ensure environment variables are available
with-contenv
cd /var/www/html
foreground {
composer
install
}
foreground {
php
artisan
migrate
--step
}
foreground {
php
artisan
dev
--init
}

View File

@@ -1,5 +1,13 @@
#!/command/execlineb -P
# Use with-contenv to ensure environment variables are available
with-contenv
cd /var/www/html
foreground {
s6-sleep 5
php /var/www/html/artisan start:scheduler
php
artisan
start:scheduler
}

View File

@@ -1,6 +1,6 @@
error_reporting = E_ALL & ~E_DEPRECATED & ~E_STRICT & ~E_NOTICE
error_reporting = E_ERROR
error_log = /var/www/html/storage/logs/php-error.log
log_errors = On
log_errors = Off
log_errors_max_len = 8192
ignore_repeated_errors = On
ignore_repeated_source = On

View File

@@ -1,2 +1,13 @@
#!/command/execlineb -P
php /var/www/html/artisan migrate --force --isolated
# Use with-contenv to ensure environment variables are available
with-contenv
cd /var/www/html
foreground {
php
artisan
migrate
--force
--isolated
}

View File

@@ -1,5 +1,11 @@
#!/command/execlineb -P
# Use with-contenv to ensure environment variables are available
with-contenv
cd /var/www/html
foreground {
s6-sleep 5
php /var/www/html/artisan start:horizon
php
artisan
start:horizon
}

View File

@@ -1,2 +1,12 @@
#!/command/execlineb -P
php /var/www/html/artisan app:init
# Use with-contenv to ensure environment variables are available
with-contenv
cd /var/www/html
foreground {
php
artisan
app:init
}

View File

@@ -1,2 +1,15 @@
#!/command/execlineb -P
php /var/www/html/artisan db:seed --class ProductionSeeder --force
# Use with-contenv to ensure environment variables are available
with-contenv
cd /var/www/html
foreground {
php
artisan
db:seed
--class
ProductionSeeder
--force
}

View File

@@ -1,5 +1,10 @@
#!/command/execlineb -P
# Use with-contenv to ensure environment variables are available
with-contenv
cd /var/www/html
foreground {
s6-sleep 5
php /var/www/html/artisan start:scheduler
php
artisan
start:scheduler
}