Docker: agregar setup local con NGINX + PHP-FPM y script de control

Incluye Dockerfile, docker-compose.yml (puerto 8088), nginx.conf y
script _app con --status, --start y --stop para levantar la app localmente.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
Ricardo Monla
2026-06-03 15:58:27 -03:00
co-authored by Claude Sonnet 4.6
parent cdbbf0e6db
commit 5a54fdcfde
4 changed files with 98 additions and 0 deletions
+23
View File
@@ -0,0 +1,23 @@
server {
listen 80;
root /var/www/html;
index index.html index.php;
resolver 127.0.0.11 valid=10s;
location / {
try_files $uri $uri/ =404;
}
location ~ \.php$ {
set $upstream app:9000;
fastcgi_pass $upstream;
fastcgi_index index.php;
include fastcgi_params;
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
}
location ~ /db/ {
deny all;
}
}