Compare commits

...

2 Commits

Author SHA1 Message Date
eroncero
3ab3f2175e First step 2025-08-15 19:25:13 +02:00
eroncero
bdf2ab2f48 Obv 2025-08-15 19:20:11 +02:00
4 changed files with 5 additions and 5 deletions

4
.gitignore vendored
View File

@@ -2,8 +2,8 @@
nginx-srv/etc
nginx-srv/var
multi-php-fpm/etc
multi-php-fpm/run
multi-php-fpm-srv/etc
multi-php-fpm-srv/run
mariadb-srv/run
mariadb-srv/var

View File

@@ -4,6 +4,8 @@
- Instead of apt-get update, just apt-get install (because packages are already downloaded).
- Before installing PHP, check if .conf exist and delete them to avoid DPKG asking for installing maintainer's version.
- Code refactor.

View File

@@ -3,7 +3,7 @@
sudo rm -rfv nginx-srv/etc
sudo rm -rfv nginx-srv/var
sudo rm -rfv multi-php-fpm-srv/etc
#sudo rm -rfv multi-php-fpm-srv/etc
sudo rm -rfv multi-php-fpm-srv/run
sudo rm -rfv mariadb-srv/run

View File

@@ -12,7 +12,6 @@ services:
restart: unless-stopped
hostname: nginx-srv
volumes:
- ./nginx-srv/etc/nginx/sites-available:/etc/nginx/sites-available # Server blocks aka virtual hosts.
- ./nginx-srv/var/www:/var/www # Webpage public html.
- ./nginx-srv/etc/letsencrypt:/etc/letsencrypt
- ./multi-php-fpm-srv/run/php:/run/php # Socket files dir. It will be mounted and shared from the PHP container.
@@ -27,7 +26,6 @@ services:
environment:
- PHP_VERSIONS=${PHP_VERSIONS} # Inherits from .env
volumes:
- ./multi-php-fpm-srv/etc/php:/etc/php
- ./multi-php-fpm-srv/run/php:/run/php
- ./mariadb-srv/run/mysql:/run/mysqld # php-mysql should be able connecting to the MariaDB socket.