Skip to content

An open-source, self-hostable PaaS alternative to Vercel, Heroku & Netlify that lets you easily deploy static sites, databases, full-stack applications and 360+ one-click services on your own servers.

Update log-drains.blade.php and add trigger-with-external-database.yaml and service-templates.json

Andras Bacsai96327af83814
diff --git a/resources/views/livewire/server/log-drains.blade.php b/resources/views/livewire/server/log-drains.blade.php
index 2e1109dc74..465702053a 100644
--- a/resources/views/livewire/server/log-drains.blade.php
+++ b/resources/views/livewire/server/log-drains.blade.php
@@ -24,16 +24,18 @@
</x-forms.button>
</div>
</form>
- {{-- <h3>Highlight.io</h3>
+
+ <h3>Axiom</h3>
<div class="w-32">
- <x-forms.checkbox instantSave='instantSave("highlight")'
- id="server.settings.is_logdrain_highlight_enabled" label="Enabled" />
+ <x-forms.checkbox instantSave='instantSave("axiom")' id="server.settings.is_logdrain_axiom_enabled"
+ label="Enabled" />
</div>
- <form wire:submit.prevent='submit("highlight")' class="flex flex-col">
+ <form wire:submit.prevent='submit("axiom")' class="flex flex-col">
<div class="flex flex-col gap-4">
<div class="flex flex-col w-full gap-2 xl:flex-row">
- <x-forms.input type="password" required id="server.settings.logdrain_highlight_project_id"
- label="Project Id" />
+ <x-forms.input type="password" required id="server.settings.logdrain_axiom_api_key"
+ label="API Key" />
+ <x-forms.input required id="server.settings.logdrain_axiom_dataset_name" label="Dataset Name" />
</div>
</div>
<div class="flex justify-end gap-4 pt-6">
@@ -41,18 +43,17 @@
Save
</x-forms.button>
</div>
- </form> --}}
- <h3>Axiom</h3>
+ </form>
+ {{-- <h3>Highlight.io</h3>
<div class="w-32">
- <x-forms.checkbox instantSave='instantSave("axiom")' id="server.settings.is_logdrain_axiom_enabled"
- label="Enabled" />
+ <x-forms.checkbox instantSave='instantSave("highlight")'
+ id="server.settings.is_logdrain_highlight_enabled" label="Enabled" />
</div>
- <form wire:submit.prevent='submit("axiom")' class="flex flex-col">
+ <form wire:submit.prevent='submit("highlight")' class="flex flex-col">
<div class="flex flex-col gap-4">
<div class="flex flex-col w-full gap-2 xl:flex-row">
- <x-forms.input type="password" required id="server.settings.logdrain_axiom_api_key"
- label="API Key" />
- <x-forms.input required id="server.settings.logdrain_axiom_dataset_name" label="Dataset Name" />
+ <x-forms.input type="password" required id="server.settings.logdrain_highlight_project_id"
+ label="Project Id" />
</div>
</div>
<div class="flex justify-end gap-4 pt-6">
@@ -60,7 +61,7 @@
Save
</x-forms.button>
</div>
- </form>
+ </form> --}}
</div>
</div>
</div>
diff --git a/templates/compose/trigger-without-database.yaml b/templates/compose/trigger-with-external-database.yaml
similarity index 100%
rename from templates/compose/trigger-without-database.yaml
rename to templates/compose/trigger-with-external-database.yaml
diff --git a/templates/service-templates.json b/templates/service-templates.json
index f7800141fe..8c2c55a93e 100644
--- a/templates/service-templates.json
+++ b/templates/service-templates.json
@@ -441,7 +441,7 @@
"internet"
]
},
- "trigger-without-database": {
+ "trigger-with-external-database": {
"documentation": "https:\/\/trigger.dev\/docs\/documentation\/guides\/self-hosting",
"slogan": "The open source Background Jobs framework for TypeScript",
"compose": "c2VydmljZXM6CiAgdHJpZ2dlcjoKICAgIGltYWdlOiAnZ2hjci5pby90cmlnZ2VyZG90ZGV2L3RyaWdnZXIuZGV2OmxhdGVzdCcKICAgIGVudmlyb25tZW50OgogICAgICAtIFNFUlZJQ0VfRlFETl9UUklHR0VSCiAgICAgIC0gTE9HSU5fT1JJR0lOPSRTRVJWSUNFX0ZRRE5fVFJJR0dFUgogICAgICAtIEFQUF9PUklHSU49JFNFUlZJQ0VfRlFETl9UUklHR0VSCiAgICAgIC0gTUFHSUNfTElOS19TRUNSRVQ9JFNFUlZJQ0VfUEFTU1dPUkRfNjRfTUFHSUMKICAgICAgLSBFTkNSWVBUSU9OX0tFWT0kU0VSVklDRV9QQVNTV09SRF82NF9FTkNSWVBUSU9OCiAgICAgIC0gU0VTU0lPTl9TRUNSRVQ9JFNFUlZJQ0VfUEFTU1dPUkRfNjRfU0VTU0lPTgogICAgICAtICdEQVRBQkFTRV9VUkw9JHtEQVRBQkFTRV9VUkx9JwogICAgICAtICdESVJFQ1RfVVJMPSR7REFUQUJBU0VfVVJMfScKICAgICAgLSBSVU5USU1FX1BMQVRGT1JNPWRvY2tlci1jb21wb3NlCiAgICAgIC0gTk9ERV9FTlY9cHJvZHVjdGlvbgogICAgaGVhbHRoY2hlY2s6CiAgICAgIHRlc3Q6CiAgICAgICAgLSBOT05FCg==",