feat(deploy): configure deployment for ClinicPro on Liara PHP platform

This commit is contained in:
hamed
2026-06-29 16:11:54 +03:30
parent efee966efb
commit b4273cfa8b
11 changed files with 683 additions and 83 deletions
+17 -10
View File
@@ -1,16 +1,23 @@
{
"app": "clinicpro-api",
"platform": "docker",
"port": 8080,
"healthCheck": {
"command": "/usr/local/bin/healthcheck.sh",
"interval": 30,
"timeout": 5,
"initialDelaySeconds": 60
"platform": "php",
"port": 80,
"php": {
"version": "8.2"
},
"documentRoot": "public",
"disks": [
{ "name": "jwt", "mountTo": "/app/config/jwt" },
{ "name": "uploads", "mountTo": "/app/public/uploads" },
{ "name": "var-uploads", "mountTo": "/app/var/uploads" }
{
"name": "jwt",
"mountTo": "/var/www/config/jwt"
},
{
"name": "uploads",
"mountTo": "/var/www/public/uploads"
},
{
"name": "var-uploads",
"mountTo": "/var/www/var/uploads"
}
]
}