Skip to content

Commit

Permalink
feat(docker): adds support for Magento v2.4 requirements
Browse files Browse the repository at this point in the history
  • Loading branch information
damienwebdev committed Sep 17, 2020
1 parent 0e098d4 commit 2eb646d
Show file tree
Hide file tree
Showing 5 changed files with 26 additions and 1 deletion.
11 changes: 10 additions & 1 deletion .env.sample
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,13 @@ COMPOSE_PROJECT_NAME=YOUR_PROJECT_NAME
# COMPOSE_FILE=docker-compose.yml:compose/sync/docker-compose.partialsync.yml

# Windows (WSL) and Linux
# COMPOSE_FILE=docker-compose.yml;compose/sync/docker-compose.fullsync.yml
# COMPOSE_FILE=docker-compose.yml;compose/sync/docker-compose.fullsync.yml

##########################################################################
# Preset Compose Configurations
#
# These are some prefab environment configurations to enable specific behaviors.
#######
# Magento v2.4
#######
# compose/php/7.3.yaml:compose/elasticsearch/7.6.yaml
5 changes: 5 additions & 0 deletions compose/elasticseach/7.6.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
version : '3'

services:
elasticsearch:
image: elasticsearch:7.6.2
5 changes: 5 additions & 0 deletions compose/php/7.3.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
version : '3'

services:
magento2:
image: graycore/magento-php:7.3-fpm-alpine-develop
3 changes: 3 additions & 0 deletions nginx/1.17/alpine-develop/conf/default.conf
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,8 @@ server {

set $MAGE_ROOT /var/www/html;

fastcgi_buffer_size 64k;
fastcgi_buffers 8 128k;

include /var/www/html/nginx[.]conf*;
}
3 changes: 3 additions & 0 deletions nginx/1.18/alpine-develop/conf/default.conf
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,8 @@ server {

set $MAGE_ROOT /var/www/html;

fastcgi_buffer_size 64k;
fastcgi_buffers 8 128k;

include /var/www/html/nginx[.]conf*;
}

0 comments on commit 2eb646d

Please sign in to comment.