A bunch of things

This commit is contained in:
eroncero
2025-08-15 19:11:21 +02:00
parent 89e2780710
commit 1270dad444
16 changed files with 35 additions and 12 deletions

View File

@@ -15,20 +15,20 @@ services:
- ./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/run/php:/run/php # Socket files dir. It will be mounted and shared from the PHP container.
- ./multi-php-fpm-srv/run/php:/run/php # Socket files dir. It will be mounted and shared from the PHP container.
multi-php-fpm:
image: eroncero/multi-php-fpm:latest
multi-php-fpm-srv:
image: eroncero/multi-php-fpm-srv:latest
build:
context: ./multi-php-fpm
context: ./multi-php-fpm-srv
dockerfile: Dockerfile
restart: unless-stopped
hostname: multi-php-fpm
hostname: multi-php-fpm-srv
environment:
- PHP_VERSIONS=${PHP_VERSIONS} # Inherits from .env
volumes:
- ./multi-php-fpm/etc/php:/etc/php
- ./multi-php-fpm/run/php:/run/php
- ./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.
mariadb-srv: