From bb4263d442672f446c99df77bb0b55da5f55f59d Mon Sep 17 00:00:00 2001 From: Janos Miko Date: Thu, 14 Oct 2021 11:49:20 +0200 Subject: [PATCH] fix issue with nginx mount for docker-compose v2 --- VERSION.txt | 2 +- templates/environments/includes/nginx.base.yml | 2 +- templates/environments/includes/php-fpm.base.yml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/VERSION.txt b/VERSION.txt index 5cb2996e..aac069ae 100644 --- a/VERSION.txt +++ b/VERSION.txt @@ -1 +1 @@ -v0.2.10-beta +v0.2.11-beta diff --git a/templates/environments/includes/nginx.base.yml b/templates/environments/includes/nginx.base.yml index 9e4be338..458f3cad 100644 --- a/templates/environments/includes/nginx.base.yml +++ b/templates/environments/includes/nginx.base.yml @@ -15,7 +15,7 @@ services: - traefik.http.services.{{.reward_env_name}}-nginx.loadbalancer.server.port=80 volumes: - .{{default "" .reward_web_root}}/:/var/www/html:cached - - ./{{default ".reward/nginx/" .nginx_custom_configs_path}}:/etc/nginx/snippets/ + - ./{{default ".reward/nginx" .nginx_custom_configs_path}}:/etc/nginx/snippets/ environment: - XDEBUG_CONNECT_BACK_HOST=${XDEBUG_CONNECT_BACK_HOST:-''} {{end}} diff --git a/templates/environments/includes/php-fpm.base.yml b/templates/environments/includes/php-fpm.base.yml index 200c5999..2d4777c2 100644 --- a/templates/environments/includes/php-fpm.base.yml +++ b/templates/environments/includes/php-fpm.base.yml @@ -5,7 +5,7 @@ x-volumes: &volumes - {{.reward_composer_dir}}:/home/www-data/.composer:cached - .{{default "" .reward_web_root}}/:/var/www/html:cached {{if (isEnabledStrict .reward_single_web_container)}} - - ./{{default ".reward/nginx/" .nginx_custom_configs_path}}:/etc/nginx/snippets/ + - ./{{default ".reward/nginx" .nginx_custom_configs_path}}:/etc/nginx/snippets/ {{end}} x-extra_hosts: &extra_hosts