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
7e81f74b
Commit
7e81f74b
authored
1 year ago
by
jurgenhaas
Browse files
Options
Downloads
Patches
Plain Diff
ansible/playbooks/general#115
Leave host controlled traefik untouched
parent
13872026
Branches
Branches containing commit
Tags
Tags containing commit
1 merge request
!69
Merging develop into main
Pipeline
#921897
passed
1 year ago
Stage: test
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/Handler.php
+4
-0
4 additions, 0 deletions
src/Handler.php
with
4 additions
and
0 deletions
src/Handler.php
+
4
−
0
View file @
7e81f74b
...
...
@@ -505,6 +505,10 @@ class Handler extends BaseHandler {
* Update Traefik.
*/
private
function
updateTraefik
():
void
{
if
(
getenv
(
'TRAEFIK_HOST'
)
===
'yes'
)
{
// Traefik is already available and controlled by the host. Don't touch it.
return
;
}
$traefik
=
new
Traefik
(
$this
->
config
->
readValue
(
'projectname'
),
$this
->
config
->
readValue
([
'traefik'
,
'domain'
]),
...
...
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