fix: +fixed php-fpm container now have 'pdo' and 'pdo_mysql' extensions and now can use 'mariadb' service
This commit is contained in:
parent
0df0260222
commit
fd846b9901
|
@ -20,7 +20,9 @@ services:
|
||||||
- '3306'
|
- '3306'
|
||||||
|
|
||||||
php-fpm:
|
php-fpm:
|
||||||
image: php:7-fpm
|
build:
|
||||||
|
context: .
|
||||||
|
dockerfile: ./docker/php-fpm-ext
|
||||||
container_name: php-fpm
|
container_name: php-fpm
|
||||||
depends_on:
|
depends_on:
|
||||||
- mariadb
|
- mariadb
|
||||||
|
|
|
@ -0,0 +1,5 @@
|
||||||
|
ENV PHP_EXTRA_CONFIGURE_ARGS='
|
||||||
|
|
||||||
|
FROM php:7-fpm
|
||||||
|
|
||||||
|
RUN docker-php-ext-install -j$(nproc) pdo pdo_mysql
|
Loading…
Reference in New Issue