Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Docker for Drupal
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Terraform modules
Monitor
Service Desk
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Composer
plugin
Docker for Drupal
Commits
9c321091
There was a problem fetching the pipeline summary.
Commit
9c321091
authored
7 years ago
by
jurgenhaas
Browse files
Options
Downloads
Patches
Plain Diff
#18
Change webserver default to apache
parent
d2e8dd92
No related branches found
No related tags found
No related merge requests found
Pipeline
#
Changes
3
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
README.md
+2
-3
2 additions, 3 deletions
README.md
src/Handler.php
+1
-2
1 addition, 2 deletions
src/Handler.php
templates/docker-compose.yml.twig
+1
-1
1 addition, 1 deletion
templates/docker-compose.yml.twig
with
4 additions
and
6 deletions
README.md
+
2
−
3
View file @
9c321091
...
...
@@ -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`
.
...
...
This diff is collapsed.
Click to expand it.
src/Handler.php
+
1
−
2
View file @
9c321091
...
...
@@ -281,8 +281,7 @@ class Handler {
'xdebug'
=>
1
,
],
'webserver'
=>
[
'type'
=>
'nginx'
,
'version'
=>
'1.13'
,
'type'
=>
'apache'
,
],
'varnish'
=>
[
'enable'
=>
0
,
...
...
This diff is collapsed.
Click to expand it.
templates/docker-compose.yml.twig
+
1
−
1
View file @
9c321091
...
...
@@ -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
%}
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment