mirror of
https://github.com/MacRimi/ProxMenux.git
synced 2026-11-02 19:02:31 +00:00
OCI manager Apps - "Install an image that is not in the catalog" reads an oci-compose from a file of the host or from an address. - A file written by hand states the image, its ports, variables and volumes, and what the installation asks; the rest is completed when it is read. A complete file, or the record of an installation, is installed as it is, and of a record only the template is used. - Errors name the field they are in, also on a host without python3-jsonschema. - oci/README.md describes the engine and the oci-compose block by block, with two examples in oci/examples/. - The documentation page of the option covers it, in English and Spanish. Log2RAM (reported by @f3rs3n) - The sync removes the old active journal file from the disk copy, so a boot no longer restores it and journald deletes its oldest archives first. Log2RAM optimization 1.7; it takes effect from the next reboot. Translations - The bot keeps "oci-compose" as written. - Spanish texts for the new option and for the Log2RAM notice.
28 lines
1.0 KiB
TypeScript
28 lines
1.0 KiB
TypeScript
import type { Metadata } from "next"
|
|
import { getTranslations, setRequestLocale } from "next-intl/server"
|
|
import { DocPage } from "@/components/docs/DocBlocks"
|
|
|
|
const NAMESPACE = "docs.ociManager.customImage"
|
|
const URL = "https://proxmenux.com/docs/oci-manager/custom-image"
|
|
|
|
const LINKS = {
|
|
readmeLink: "https://github.com/MacRimi/ProxMenux/blob/main/oci/README.md#the-oci-compose-block-by-block",
|
|
}
|
|
|
|
export async function generateMetadata({ params }: { params: Promise<{ locale: string }> }): Promise<Metadata> {
|
|
const { locale } = await params
|
|
const t = await getTranslations({ locale, namespace: `${NAMESPACE}.meta` })
|
|
return {
|
|
title: t("title"),
|
|
description: t("description"),
|
|
alternates: { canonical: URL },
|
|
openGraph: { title: t("title"), description: t("description"), type: "article", url: URL },
|
|
}
|
|
}
|
|
|
|
export default async function Page({ params }: { params: Promise<{ locale: string }> }) {
|
|
const { locale } = await params
|
|
setRequestLocale(locale)
|
|
return <DocPage locale={locale} namespace={NAMESPACE} minutes={7} links={LINKS} />
|
|
}
|