Merge branch 'dev' into declare

This commit is contained in:
Owen
2025-09-11 21:24:27 -07:00
22 changed files with 486 additions and 113 deletions

View File

@@ -355,6 +355,8 @@ export default function Page() {
}
async function onSubmit() {
setShowSnippets(true);
router.refresh();
setCreateLoading(true);
const baseData = baseForm.getValues();
@@ -1543,6 +1545,9 @@ export default function Page() {
<h3 className="text-lg font-semibold">
{t("resourceAddEntrypoints")}
</h3>
<p className="text-sm text-muted-foreground">
(Edit file: config/traefik/traefik_config.yml)
</p>
<CopyTextBox
text={`entryPoints:
${tcpUdpForm.getValues("protocol")}-${tcpUdpForm.getValues("proxyPort")}:
@@ -1555,6 +1560,9 @@ export default function Page() {
<h3 className="text-lg font-semibold">
{t("resourceExposePorts")}
</h3>
<p className="text-sm text-muted-foreground">
(Edit file: docker-compose.yml)
</p>
<CopyTextBox
text={`ports:
- ${tcpUdpForm.getValues("proxyPort")}:${tcpUdpForm.getValues("proxyPort")}${tcpUdpForm.getValues("protocol") === "tcp" ? "" : "/" + tcpUdpForm.getValues("protocol")}`}