mirror of
https://github.com/fosrl/pangolin.git
synced 2026-01-28 22:00:51 +00:00
@@ -315,6 +315,8 @@ export default function Page() {
|
||||
}
|
||||
|
||||
async function onSubmit() {
|
||||
setShowSnippets(true);
|
||||
router.refresh();
|
||||
setCreateLoading(true);
|
||||
|
||||
const baseData = baseForm.getValues();
|
||||
@@ -1420,6 +1422,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")}:
|
||||
@@ -1432,6 +1437,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")}`}
|
||||
|
||||
Reference in New Issue
Block a user