Skip to content

Commit

Permalink
add mailhog
Browse files Browse the repository at this point in the history
  • Loading branch information
AaronFeledy committed Jan 6, 2025
1 parent 350e4b5 commit 8d064c6
Showing 1 changed file with 38 additions and 0 deletions.
38 changes: 38 additions & 0 deletions landofile-spec.json
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,9 @@
"mysql:8.0"
]
},
"mailhog": {
"$ref": "#/$defs/plugins/mailhog/config/mailhog"
},
"xdebug": {
"$ref": "#/$defs/plugins/php/config/xdebug"
}
Expand Down Expand Up @@ -372,6 +375,9 @@
"overrides": {
"$ref": "#/$defs/compose/service"
},
"mailhog": {
"$ref": "#/$defs/plugins/mailhog/config/mailhog"
},
"xdebug": {
"$ref": "#/$defs/plugins/php/config/xdebug"
},
Expand Down Expand Up @@ -444,6 +450,24 @@
"type"
]
}
},
{
"if": {
"required": [
"hogfrom"
]
},
"then": {
"properties": {
"type": {
"type": "string",
"pattern": "^mailhog(:[a-zA-Z0-9._-]+)?$"
}
},
"required": [
"type"
]
}
}
],
"additionalProperties": false
Expand Down Expand Up @@ -812,6 +836,20 @@
}
},
"plugins": {
"mailhog": {
"config": {
"hogfrom": {
"type": "array",
"description": "List of service names to capture mail from. The mhsendmail binary will be installed in each listed service.",
"items": {
"type": "string"
},
"examples": [
["appserver"]
]
}
}
},
"php": {
"config": {
"xdebug": {
Expand Down

0 comments on commit 8d064c6

Please sign in to comment.