* rename php-fpm dockerfile to simple naming

* update docker-compose example with modified dockerfile name in php-fpm versions services
This commit is contained in:
2021-04-13 17:03:58 +03:00
parent f3139e9716
commit 9f0f96a499
4 changed files with 9 additions and 6 deletions

View File

@ -6,19 +6,19 @@ services:
file: docker-compose.base.yml
service: nginx
php-fpm73:
php73:
extends:
file: docker-compose.base.yml
service: php-fpm
build:
context: ./dockerfiles/php-fpm73
dockerfile: php73.Dockerfile
php-fpm74:
php74:
extends:
file: docker-compose.base.yml
service: php-fpm
build:
context: ./dockerfiles/php-fpm74
dockerfile: php74.Dockerfile
workspace73:
extends:
@ -59,3 +59,6 @@ services:
extends:
file: docker-compose.base.yml
service: redis
volumes:
database:

View File

@ -1,4 +1,4 @@
# syntax = edrevo/dockerfile-plus
FROM php:7.3-fpm
INCLUDE+ ./php-fpm.base.Dockerfile
INCLUDE+ ./php.base.Dockerfile

View File

@ -1,4 +1,4 @@
# syntax = edrevo/dockerfile-plus
FROM php:7.4-fpm
INCLUDE+ ./php-fpm.base.Dockerfile
INCLUDE+ ./php.base.Dockerfile