Update page.tsx

Added default location for the config files, for reference
This commit is contained in:
hetlelid
2025-09-11 11:11:36 +02:00
committed by GitHub
parent 56ee68d9f3
commit 35aa0ab4e7

View File

@@ -1420,6 +1420,7 @@ export default function Page() {
<h3 className="text-lg font-semibold">
{t("resourceAddEntrypoints")}
</h3>
(Edit file: config/traefik/traefik_config.yml)
<CopyTextBox
text={`entryPoints:
${tcpUdpForm.getValues("protocol")}-${tcpUdpForm.getValues("proxyPort")}:
@@ -1432,6 +1433,7 @@ export default function Page() {
<h3 className="text-lg font-semibold">
{t("resourceExposePorts")}
</h3>
(Edit file: docker-compose.yml)
<CopyTextBox
text={`ports:
- ${tcpUdpForm.getValues("proxyPort")}:${tcpUdpForm.getValues("proxyPort")}${tcpUdpForm.getValues("protocol") === "tcp" ? "" : "/" + tcpUdpForm.getValues("protocol")}`}