Added mariadb
This commit is contained in:
@@ -13,7 +13,7 @@ services:
|
||||
volumes:
|
||||
- ./nginx-srv/etc/nginx/sites-available:/etc/nginx/sites-available
|
||||
- ./nginx-srv/var/www:/var/www
|
||||
- ./multi-php-fpm/run/php:/run/php # It will be mounted from the PHP container.
|
||||
- ./multi-php-fpm/run/php:/run/php # Socket files dir. It will be mounted and shared from the PHP container.
|
||||
- ./nginx-srv/etc/letsencrypt:/etc/letsencrypt
|
||||
|
||||
multi-php-fpm:
|
||||
@@ -24,3 +24,12 @@ services:
|
||||
volumes:
|
||||
- ./multi-php-fpm/etc/php:/etc/php
|
||||
- ./multi-php-fpm/run/php:/run/php
|
||||
- ./mariadb-srv/run/mysql:/run/mysqld
|
||||
|
||||
mariadb-srv:
|
||||
image: eroncero/mariadb-srv:latest
|
||||
restart: unless-stopped
|
||||
volumes:
|
||||
- ./mariadb-srv/var/lib/mysql:/var/lib/mysql
|
||||
- ./mariadb-srv/etc/mysql:/etc/mysql
|
||||
- ./mariadb-srv/run/mysql/:/run/mysqld
|
||||
|
Reference in New Issue
Block a user