Skip to content

Commit

Permalink
fix: service generate includes yml files as well (haha)
Browse files Browse the repository at this point in the history
  • Loading branch information
andrasbacsai committed Nov 25, 2024
1 parent e6ea4a0 commit 11fb5a9
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 1 deletion.
5 changes: 4 additions & 1 deletion app/Console/Commands/ServicesGenerate.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,10 @@ class ServicesGenerate extends Command

public function handle(): int
{
$serviceTemplatesJson = collect(glob(base_path('templates/compose/*.yaml')))
$serviceTemplatesJson = collect(array_merge(
glob(base_path('templates/compose/*.yaml')),
glob(base_path('templates/compose/*.yml'))
))
->mapWithKeys(function ($file): array {
$file = basename($file);
$parsed = $this->processFile($file);
Expand Down
15 changes: 15 additions & 0 deletions templates/service-templates.json
Original file line number Diff line number Diff line change
Expand Up @@ -3040,5 +3040,20 @@
"logo": "svgs/zipline.png",
"minversion": "0.0.0",
"port": "3000"
},
"convertx": {
"documentation": "https://github.com/C4illin/ConvertX?utm_source=coolify.io",
"slogan": "A self-hosted online file converter. Supports over a thousand different formats.",
"compose": "c2VydmljZXM6CiAgY29udmVydHg6CiAgICBpbWFnZTogJ2doY3IuaW8vYzRpbGxpbi9jb252ZXJ0eDpsYXRlc3QnCiAgICBlbnZpcm9ubWVudDoKICAgICAgLSBTRVJWSUNFX0ZRRE5fQ09OVkVSVFgKICAgICAgLSAnQUNDT1VOVF9SRUdJU1RSQVRJT049JHtBQ0NPVU5UX1JFR0lTVFJBVElPTjotZmFsc2V9JwogICAgICAtICdIVFRQX0FMTE9XRUQ9JHtIVFRQX0FMTE9XRUQ6LXRydWV9JwogICAgICAtICdBTExPV19VTkFVVEhFTlRJQ0FURUQ9JHtBTExPV19VTkFVVEhFTlRJQ0FURUQ6LWZhbHNlfScKICAgICAgLSAnQVVUT19ERUxFVEVfRVZFUllfTl9IT1VSUz0ke0FVVE9fREVMRVRFX0VWRVJZX05fSE9VUlM6LTI0fScKICAgICAgLSAnSldUX1NFQ1JFVD0ke1NFUlZJQ0VfUEFTU1dPUkRfQ09OVkVSVFhKV1RTRUNSRVR9JwogICAgdm9sdW1lczoKICAgICAgLSAnY29udmVydHhfZGF0YTovYXBwL2RhdGEnCg==",
"tags": [
"converter",
"file",
"documents",
"files",
"directories"
],
"logo": "svgs/convertx.png",
"minversion": "0.0.0",
"port": "3000"
}
}

0 comments on commit 11fb5a9

Please sign in to comment.