- Refactored Kernel.php to ensure writable base directory is set correctly for production on Liara. - Added .htaccess file to forward requests to the public directory, addressing the limitation of Liara's PHP platform. - Updated manifest.json with new modification times and AST hashes for affected files. - Minor formatting change in liara.json to ensure proper file structure.
32 lines
638 B
JSON
32 lines
638 B
JSON
{
|
|
"app": "clinicpro",
|
|
"platform": "php",
|
|
"port": 80,
|
|
"build": {
|
|
"location": "germany"
|
|
},
|
|
"php": {
|
|
"version": "8.3"
|
|
},
|
|
"healthCheck": {
|
|
"command": "php -r '$h=@get_headers(\"http://127.0.0.1:80/health\"); exit($h && strpos($h[0],\" 200\")!==false ? 0 : 1);'",
|
|
"interval": 30,
|
|
"timeout": 5,
|
|
"retries": 5,
|
|
"startPeriod": 60
|
|
},
|
|
"disks": [
|
|
{
|
|
"name": "jwt",
|
|
"mountTo": "/var/www/html/config/jwt"
|
|
},
|
|
{
|
|
"name": "uploads",
|
|
"mountTo": "/var/www/html/public/uploads"
|
|
},
|
|
{
|
|
"name": "var-uploads",
|
|
"mountTo": "/var/www/html/var/uploads"
|
|
}
|
|
]
|
|
} |