diff --git a/apps/nora/1.4.4/docker-compose.yml b/apps/nora/1.4.4/docker-compose.yml index c3a1c12d8..9f7c7389f 100644 --- a/apps/nora/1.4.4/docker-compose.yml +++ b/apps/nora/1.4.4/docker-compose.yml @@ -1,6 +1,6 @@ services: nora: - image: "ghcr.io/getnora-io/nora:1.4.6" + image: "ghcr.io/getnora-io/nora:1.4.4" container_name: ${CONTAINER_NAME} restart: always read_only: true diff --git a/apps/nora/1.4.5/docker-compose.yml b/apps/nora/1.4.5/docker-compose.yml index c3a1c12d8..291d38a4f 100644 --- a/apps/nora/1.4.5/docker-compose.yml +++ b/apps/nora/1.4.5/docker-compose.yml @@ -1,6 +1,6 @@ services: nora: - image: "ghcr.io/getnora-io/nora:1.4.6" + image: "ghcr.io/getnora-io/nora:1.4.5" container_name: ${CONTAINER_NAME} restart: always read_only: true diff --git a/apps/nora/1.4.6/.env.sample b/apps/nora/1.4.6/.env.sample new file mode 100644 index 000000000..adf904ec5 --- /dev/null +++ b/apps/nora/1.4.6/.env.sample @@ -0,0 +1,5 @@ +PANEL_APP_PORT_HTTP=4000 +NORA_PUBLIC_URL=http://localhost:4000 +NORA_AUTH_ENABLED=false +RUST_LOG=info +CONTAINER_NAME=nora-compose-check diff --git a/apps/nora/1.4.6/data.yml b/apps/nora/1.4.6/data.yml new file mode 100644 index 000000000..caa2d13a1 --- /dev/null +++ b/apps/nora/1.4.6/data.yml @@ -0,0 +1,79 @@ +additionalProperties: + formFields: + - default: 4000 + edit: true + envKey: PANEL_APP_PORT_HTTP + labelEn: HTTP Port + labelZh: HTTP 端口 + label: + en: HTTP Port + zh: HTTP 端口 + zh-Hant: HTTP 埠 + ja: HTTP ポート + ko: HTTP 포트 + ru: HTTP-порт + ms: Port HTTP + pt-br: Porta HTTP + required: true + rule: paramPort + type: number + - default: http://localhost:4000 + edit: true + envKey: NORA_PUBLIC_URL + labelEn: Public URL + labelZh: 公共访问地址 + label: + en: Public URL + zh: 公共访问地址 + zh-Hant: 公共存取位址 + ja: 公開 URL + ko: 공개 URL + ru: Публичный URL + ms: URL awam + pt-br: URL público + required: true + type: text + - default: "false" + edit: true + envKey: NORA_AUTH_ENABLED + labelEn: Enable authentication + labelZh: 启用身份验证 + label: + en: Enable authentication + zh: 启用身份验证 + zh-Hant: 啟用身分驗證 + ja: 認証を有効化 + ko: 인증 사용 + ru: Включить аутентификацию + ms: Dayakan pengesahan + pt-br: Ativar autenticação + required: true + type: select + values: + - label: "false" + value: "false" + - label: "true" + value: "true" + - default: info + edit: true + envKey: RUST_LOG + labelEn: Log level + labelZh: 日志级别 + label: + en: Log level + zh: 日志级别 + zh-Hant: 日誌級別 + ja: ログレベル + ko: 로그 수준 + ru: Уровень журналирования + ms: Tahap log + pt-br: Nível de log + required: true + type: select + values: + - label: info + value: info + - label: debug + value: debug + - label: warn + value: warn diff --git a/apps/nora/1.4.6/docker-compose.yml b/apps/nora/1.4.6/docker-compose.yml new file mode 100644 index 000000000..c3a1c12d8 --- /dev/null +++ b/apps/nora/1.4.6/docker-compose.yml @@ -0,0 +1,37 @@ +services: + nora: + image: "ghcr.io/getnora-io/nora:1.4.6" + container_name: ${CONTAINER_NAME} + restart: always + read_only: true + tmpfs: + - /tmp:size=256M + security_opt: + - no-new-privileges:true + networks: + - 1panel-network + ports: + - "${PANEL_APP_PORT_HTTP}:4000" + volumes: + - nora-data:/data + environment: + - RUST_LOG=${RUST_LOG} + - NORA_HOST=0.0.0.0 + - NORA_PORT=4000 + - NORA_PUBLIC_URL=${NORA_PUBLIC_URL} + - NORA_AUTH_ENABLED=${NORA_AUTH_ENABLED} + healthcheck: + test: ["CMD", "wget", "-q", "--spider", "http://127.0.0.1:4000/health"] + interval: 10s + timeout: 5s + retries: 6 + start_period: 10s + labels: + createdBy: "Apps" + +networks: + 1panel-network: + external: true + +volumes: + nora-data: diff --git a/apps/nora/1.4.6/scripts/init.sh b/apps/nora/1.4.6/scripts/init.sh new file mode 100755 index 000000000..3bcd05101 --- /dev/null +++ b/apps/nora/1.4.6/scripts/init.sh @@ -0,0 +1,5 @@ +#!/usr/bin/env bash +set -euo pipefail + +# The upstream entrypoint initializes the named data volume. +exit 0 diff --git a/apps/nora/1.4.6/scripts/uninstall.sh b/apps/nora/1.4.6/scripts/uninstall.sh new file mode 100755 index 000000000..3b4b91533 --- /dev/null +++ b/apps/nora/1.4.6/scripts/uninstall.sh @@ -0,0 +1,5 @@ +#!/usr/bin/env bash +set -euo pipefail + +# 1Panel controls named-volume removal according to the user's uninstall choice. +exit 0 diff --git a/apps/nora/1.4.6/scripts/upgrade.sh b/apps/nora/1.4.6/scripts/upgrade.sh new file mode 100755 index 000000000..632990091 --- /dev/null +++ b/apps/nora/1.4.6/scripts/upgrade.sh @@ -0,0 +1,5 @@ +#!/usr/bin/env bash +set -euo pipefail + +# NORA performs storage compatibility handling in the upstream binary. +exit 0