Skip to content
Snippets Groups Projects
Commit 4bd63885 authored by jurgenhaas's avatar jurgenhaas
Browse files

Merge remote-tracking branch 'origin/master'

parents cdf14086 82e52dac
No related branches found
No related tags found
No related merge requests found
Pipeline #
......@@ -220,8 +220,7 @@ To overwrite the default settings for the Docker environment, add the relevant p
"xdebug": 1
},
"webserver": {
"type": "nginx",
"version": "1.13"
"type": "apache"
},
"varnish": {
"enable": 0
......@@ -266,7 +265,7 @@ To overwrite the default settings for the Docker environment, add the relevant p
Other supported values for the PHP version are `5.3`, `5.6` and `7.1`.
Other supported value for the webserver type is `apache`.
Other supported value for the webserver type is `nginx`.
Supported versions for `nginx`: `1.13`, `1.12`, `1.10`.
......
......@@ -26,6 +26,7 @@
"require": {
"php": ">=5.6",
"composer-plugin-api": "^1.0.0",
"lakedrops/composer-scripts": "^0.1",
"lakedrops/docker-traefik": "^0.1",
"lakedrops/dotenv": "^0.1",
"twig/twig": "^1.23.1"
......
......@@ -283,8 +283,7 @@ class Handler {
'xdebug' => 1,
],
'webserver' => [
'type' => 'nginx',
'version' => '1.13',
'type' => 'apache',
],
'varnish' => [
'enable' => 0,
......
......@@ -51,7 +51,7 @@ services:
{{ webserver.type }}:
{% if webserver.type == 'nginx' %}
image: 'wodby/drupal-nginx:{{ drupal.version }}-{{ webserver.version }}'
image: 'wodby/drupal-nginx:{{ drupal.version }}-{{ webserver.version|default("1.13") }}'
{% elseif webserver.type == 'apache' %}
image: 'wodby/php-apache:2.4'
{% endif %}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment