php -d memory_limit=1024M
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Nginx global configuration | |
user nginx; | |
worker_processes auto; | |
error_log /var/log/nginx/error.log warn; | |
pid /var/run/nginx.pid; | |
events { | |
worker_connections 1024; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM php:8.1-cli | |
# Instalar extensiones y dependencias necesarias | |
RUN apt-get update && apt-get install -y \ | |
libzip-dev \ | |
unzip \ | |
git \ | |
libonig-dev \ | |
libpng-dev \ | |
libjpeg-dev \ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Usar la imagen base de PHP 8.1 con FPM | |
FROM php:8.1-fpm | |
# Instalar extensiones y dependencias necesarias | |
RUN apt-get update && apt-get install -y \ | |
libzip-dev \ | |
unzip \ | |
git \ | |
libonig-dev \ | |
libpng-dev \ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
services: | |
php-fpm: | |
container_name: php-fpm | |
ports: | |
- "9000:9000" | |
volumes: | |
- ./:/var/www/html | |
- ./logs/php:/var/log/php | |
environment: | |
- APP_ENV=local |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
sudo apt install -y tree bc vim htop curl wget ubuntu-restricted-extras rar unrar p7zip-full p7zip-rar ubuntu-gnome-desktop gnome-session gdm3 chrome-gnome-shell terminator docker docker-compose git php-cli php-curl rsync gnome-tweaks | |
sudo snap install vlc | |
sudo update-alternatives --config editor | |
git config --global color.ui true | |
git config --global color.diff.meta "yellow bold" | |
git config --global color.diff.old "red bold" | |
git config --global color.diff.new "green bold" | |
git config --global color.status.added "green bold" | |
git config --global color.status.changed "yellow" |
NewerOlder