A bunch of things
This commit is contained in:
@@ -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:
|
||||
|
Reference in New Issue
Block a user