mirror of
https://github.com/okxlin/appstore.git
synced 2026-09-22 08:00:59 +00:00
maint: rebuild flagsmith update from #6922
Merged after recorded-live 1Panel v2 upgrade smoke and app-scoped maintainer validation.
This commit is contained in:
@@ -1,7 +1,6 @@
|
||||
CONTAINER_NAME=flagsmith-compose-check
|
||||
PANEL_APP_BIND_ADDRESS=127.0.0.1
|
||||
PANEL_APP_PORT_HTTP=8000
|
||||
PANEL_DB_TYPE=postgresql
|
||||
PANEL_DB_HOST=
|
||||
PANEL_DB_PORT=5432
|
||||
PANEL_DB_NAME=flagsmith
|
||||
@@ -8,12 +8,16 @@ additionalProperties:
|
||||
label:
|
||||
en: Bind Address
|
||||
zh: 绑定地址
|
||||
zh-Hant: 綁定位址
|
||||
zh-hant: 綁定位址
|
||||
ja: バインドアドレス
|
||||
ko: 바인드 주소
|
||||
ru: Адрес привязки
|
||||
ms: Alamat ikatan
|
||||
pt-br: Endereco de vinculacao
|
||||
tr: Bağlama Adresi
|
||||
es-es: Dirección de enlace
|
||||
fa: نشانی اتصال
|
||||
lo: ທີ່ຢູ່ການຜູກ
|
||||
required: true
|
||||
type: text
|
||||
- default: 8000
|
||||
@@ -24,12 +28,16 @@ additionalProperties:
|
||||
label:
|
||||
en: HTTP Port
|
||||
zh: HTTP 端口
|
||||
zh-Hant: HTTP 連接埠
|
||||
zh-hant: HTTP 連接埠
|
||||
ja: HTTP ポート
|
||||
ko: HTTP 포트
|
||||
ru: HTTP-порт
|
||||
ms: Port HTTP
|
||||
pt-br: Porta HTTP
|
||||
tr: HTTP Portu
|
||||
es-es: Puerto HTTP
|
||||
fa: درگاه HTTP
|
||||
lo: ພອດ HTTP
|
||||
required: true
|
||||
rule: paramPort
|
||||
type: number
|
||||
@@ -40,12 +48,16 @@ additionalProperties:
|
||||
label:
|
||||
en: Database Runtime
|
||||
zh: 数据库运行环境
|
||||
zh-Hant: 資料庫執行環境
|
||||
zh-hant: 資料庫執行環境
|
||||
ja: データベース実行環境
|
||||
ko: 데이터베이스 런타임
|
||||
ru: Среда базы данных
|
||||
ms: Masa jalan pangkalan data
|
||||
pt-br: Ambiente de banco de dados
|
||||
tr: Veritabanı Çalışma Ortamı
|
||||
es-es: Entorno de base de datos
|
||||
fa: محیط پایگاه داده
|
||||
lo: ສະພາບແວດລ້ອມຖານຂໍ້ມູນ
|
||||
required: true
|
||||
type: apps
|
||||
values:
|
||||
@@ -59,12 +71,16 @@ additionalProperties:
|
||||
label:
|
||||
en: PostgreSQL Service
|
||||
zh: PostgreSQL 服务
|
||||
zh-Hant: PostgreSQL 服務
|
||||
zh-hant: PostgreSQL 服務
|
||||
ja: PostgreSQL サービス
|
||||
ko: PostgreSQL 서비스
|
||||
ru: Сервис PostgreSQL
|
||||
ms: Perkhidmatan PostgreSQL
|
||||
pt-br: Servico PostgreSQL
|
||||
tr: PostgreSQL Hizmeti
|
||||
es-es: Servicio de PostgreSQL
|
||||
fa: سرویس PostgreSQL
|
||||
lo: ບໍລິການ PostgreSQL
|
||||
required: true
|
||||
type: service
|
||||
- default: 5432
|
||||
@@ -75,12 +91,16 @@ additionalProperties:
|
||||
label:
|
||||
en: Database Port
|
||||
zh: 数据库端口
|
||||
zh-Hant: 資料庫連接埠
|
||||
zh-hant: 資料庫連接埠
|
||||
ja: データベースポート
|
||||
ko: 데이터베이스 포트
|
||||
ru: Порт базы данных
|
||||
ms: Port pangkalan data
|
||||
pt-br: Porta do banco de dados
|
||||
tr: Veritabanı Portu
|
||||
es-es: Puerto de base de datos
|
||||
fa: درگاه پایگاه داده
|
||||
lo: ພອດຖານຂໍ້ມູນ
|
||||
required: true
|
||||
type: number
|
||||
- default: flagsmith
|
||||
@@ -91,12 +111,16 @@ additionalProperties:
|
||||
label:
|
||||
en: Database Name
|
||||
zh: 数据库名称
|
||||
zh-Hant: 資料庫名稱
|
||||
zh-hant: 資料庫名稱
|
||||
ja: データベース名
|
||||
ko: 데이터베이스 이름
|
||||
ru: Имя базы данных
|
||||
ms: Nama pangkalan data
|
||||
pt-br: Nome do banco de dados
|
||||
tr: Veritabanı Adı
|
||||
es-es: Nombre de la base de datos
|
||||
fa: نام پایگاه داده
|
||||
lo: ຊື່ຖານຂໍ້ມູນ
|
||||
random: true
|
||||
required: true
|
||||
rule: paramCommon
|
||||
@@ -109,12 +133,16 @@ additionalProperties:
|
||||
label:
|
||||
en: Database User
|
||||
zh: 数据库用户
|
||||
zh-Hant: 資料庫使用者
|
||||
zh-hant: 資料庫使用者
|
||||
ja: データベースユーザー
|
||||
ko: 데이터베이스 사용자
|
||||
ru: Пользователь базы данных
|
||||
ms: Pengguna pangkalan data
|
||||
pt-br: Usuario do banco de dados
|
||||
tr: Veritabanı Kullanıcısı
|
||||
es-es: Usuario de la base de datos
|
||||
fa: کاربر پایگاه داده
|
||||
lo: ຜູ້ໃຊ້ຖານຂໍ້ມູນ
|
||||
random: true
|
||||
required: true
|
||||
rule: paramCommon
|
||||
@@ -127,12 +155,16 @@ additionalProperties:
|
||||
label:
|
||||
en: Database Password
|
||||
zh: 数据库密码
|
||||
zh-Hant: 資料庫密碼
|
||||
zh-hant: 資料庫密碼
|
||||
ja: データベースパスワード
|
||||
ko: 데이터베이스 비밀번호
|
||||
ru: Пароль базы данных
|
||||
ms: Kata laluan pangkalan data
|
||||
pt-br: Senha do banco de dados
|
||||
tr: Veritabanı Parolası
|
||||
es-es: Contraseña de la base de datos
|
||||
fa: گذرواژه پایگاه داده
|
||||
lo: ລະຫັດຜ່ານຖານຂໍ້ມູນ
|
||||
required: true
|
||||
rule: paramComplexity
|
||||
type: password
|
||||
@@ -144,12 +176,16 @@ additionalProperties:
|
||||
label:
|
||||
en: Application Secret
|
||||
zh: 应用密钥
|
||||
zh-Hant: 應用程式密鑰
|
||||
zh-hant: 應用程式密鑰
|
||||
ja: アプリケーションシークレット
|
||||
ko: 애플리케이션 비밀 키
|
||||
ru: Секрет приложения
|
||||
ms: Rahsia aplikasi
|
||||
pt-br: Segredo do aplicativo
|
||||
tr: Uygulama Gizli Anahtarı
|
||||
es-es: Secreto de la aplicación
|
||||
fa: کلید مخفی برنامه
|
||||
lo: ລະຫັດລັບຂອງແອັບ
|
||||
required: true
|
||||
type: password
|
||||
- default: localhost:8000
|
||||
@@ -160,12 +196,16 @@ additionalProperties:
|
||||
label:
|
||||
en: Public Host
|
||||
zh: 公开访问主机
|
||||
zh-Hant: 公開存取主機
|
||||
zh-hant: 公開存取主機
|
||||
ja: 公開ホスト
|
||||
ko: 공개 호스트
|
||||
ru: Публичный хост
|
||||
ms: Hos awam
|
||||
pt-br: Host publico
|
||||
tr: Genel Ana Bilgisayar
|
||||
es-es: Host público
|
||||
fa: میزبان عمومی
|
||||
lo: ໂຮສສາທາລະນະ
|
||||
required: true
|
||||
type: text
|
||||
- default: '*'
|
||||
@@ -176,12 +216,16 @@ additionalProperties:
|
||||
label:
|
||||
en: Allowed Hosts
|
||||
zh: 允许的主机
|
||||
zh-Hant: 允許的主機
|
||||
zh-hant: 允許的主機
|
||||
ja: 許可するホスト
|
||||
ko: 허용된 호스트
|
||||
ru: Разрешенные хосты
|
||||
ms: Hos yang dibenarkan
|
||||
pt-br: Hosts permitidos
|
||||
tr: İzin Verilen Ana Bilgisayarlar
|
||||
es-es: Hosts permitidos
|
||||
fa: میزبانهای مجاز
|
||||
lo: ໂຮສທີ່ອະນຸຍາດ
|
||||
required: true
|
||||
type: text
|
||||
- default: 'false'
|
||||
@@ -192,12 +236,16 @@ additionalProperties:
|
||||
label:
|
||||
en: Prevent New Signups
|
||||
zh: 禁止新用户注册
|
||||
zh-Hant: 禁止新使用者註冊
|
||||
zh-hant: 禁止新使用者註冊
|
||||
ja: 新規登録を禁止
|
||||
ko: 신규 가입 방지
|
||||
ru: Запретить новые регистрации
|
||||
ms: Halang pendaftaran baharu
|
||||
pt-br: Impedir novos cadastros
|
||||
tr: Yeni Kayıtları Engelle
|
||||
es-es: Impedir nuevos registros
|
||||
fa: جلوگیری از ثبتنامهای جدید
|
||||
lo: ປ້ອງກັນການລົງທະບຽນໃໝ່
|
||||
required: true
|
||||
type: select
|
||||
values:
|
||||
@@ -205,3 +253,23 @@ additionalProperties:
|
||||
value: 'false'
|
||||
- label: 'true'
|
||||
value: 'true'
|
||||
- default: Asia/Shanghai
|
||||
edit: true
|
||||
envKey: TZ
|
||||
labelEn: Timezone
|
||||
labelZh: 时区
|
||||
label:
|
||||
en: Timezone
|
||||
zh: 时区
|
||||
zh-hant: 時區
|
||||
ja: タイムゾーン
|
||||
ko: 시간대
|
||||
ru: Часовой пояс
|
||||
ms: Zon waktu
|
||||
pt-br: Fuso horário
|
||||
tr: Saat Dilimi
|
||||
es-es: Zona horaria
|
||||
fa: منطقه زمانی
|
||||
lo: ເຂດເວລາ
|
||||
required: true
|
||||
type: text
|
||||
+3
-3
@@ -1,6 +1,6 @@
|
||||
services:
|
||||
flagsmith-migrate:
|
||||
image: "flagsmith/flagsmith:2.272.0@sha256:684ad3309d8feda665e0a051132e6ff50895825e53da48093a2ed96e2ecc9077"
|
||||
image: "flagsmith/flagsmith:2.273.0@sha256:6e9e8bac587865f272a0f81ad19b2c999b5b21a9514f878a7ecfabc1ab0ed7b1"
|
||||
container_name: ${CONTAINER_NAME}-migrate
|
||||
restart: unless-stopped
|
||||
entrypoint: ["/bin/sh", "-c"]
|
||||
@@ -34,7 +34,7 @@ services:
|
||||
createdBy: "Apps"
|
||||
|
||||
flagsmith:
|
||||
image: "flagsmith/flagsmith:2.272.0@sha256:684ad3309d8feda665e0a051132e6ff50895825e53da48093a2ed96e2ecc9077"
|
||||
image: "flagsmith/flagsmith:2.273.0@sha256:6e9e8bac587865f272a0f81ad19b2c999b5b21a9514f878a7ecfabc1ab0ed7b1"
|
||||
container_name: ${CONTAINER_NAME}
|
||||
restart: unless-stopped
|
||||
command: ["serve"]
|
||||
@@ -71,7 +71,7 @@ services:
|
||||
createdBy: "Apps"
|
||||
|
||||
flagsmith-task-processor:
|
||||
image: "flagsmith/flagsmith:2.272.0@sha256:684ad3309d8feda665e0a051132e6ff50895825e53da48093a2ed96e2ecc9077"
|
||||
image: "flagsmith/flagsmith:2.273.0@sha256:6e9e8bac587865f272a0f81ad19b2c999b5b21a9514f878a7ecfabc1ab0ed7b1"
|
||||
container_name: ${CONTAINER_NAME}-task-processor
|
||||
restart: unless-stopped
|
||||
command: ["run-task-processor"]
|
||||
@@ -0,0 +1,33 @@
|
||||
# Flagsmith
|
||||
|
||||
## Introduction
|
||||
|
||||
Flagsmith is an open-source feature flag and remote configuration platform for managing flags, environments, identities and segments through an API and SDKs.
|
||||
|
||||
## Features
|
||||
|
||||
- Manage feature flags across projects and environments.
|
||||
- Target identities and segments for gradual releases.
|
||||
- Serve configuration through client and server SDKs and the REST API.
|
||||
- Store flag analytics and process background tasks.
|
||||
|
||||
## Installation and access
|
||||
|
||||
- Prepare a running PostgreSQL service in 1Panel and select it in the installation form. The panel creates and links the application database and user.
|
||||
- Open `http://<server-ip>:8000` after installation; use the value of `PANEL_APP_PORT_HTTP` if the port was changed, then create the first account.
|
||||
- Set `FLAGSMITH_DOMAIN` to the host and optional port users will access, without `http://` or a path.
|
||||
- For public deployments, use an HTTPS reverse proxy and set `FLAGSMITH_ALLOWED_HOSTS` to the actual domain.
|
||||
|
||||
## Data and security
|
||||
|
||||
- PostgreSQL stores application data. Back up the linked database before upgrades or uninstalling; uninstalling this app does not delete the external PostgreSQL service.
|
||||
- `DJANGO_SECRET_KEY` is generated on first installation and must not be shared or committed.
|
||||
- Registration is enabled by default. Set `PREVENT_SIGNUP` to `true` after creating the administrator account if appropriate.
|
||||
- Optional OAuth, SAML, SMTP, webhook and other integrations should use least-privilege credentials.
|
||||
|
||||
## References
|
||||
|
||||
- Website: <https://www.flagsmith.com/>
|
||||
- Source: <https://github.com/Flagsmith/flagsmith>
|
||||
- Documentation: <https://docs.flagsmith.com/deployment-self-hosting/hosting-guides/docker>
|
||||
- License: BSD-3-Clause
|
||||
@@ -24,10 +24,14 @@ additionalProperties:
|
||||
description:
|
||||
en: Open-source feature flag and remote configuration platform
|
||||
zh: 开源功能标志和远程配置平台
|
||||
zh-Hant: 開源功能旗標與遠端設定平台
|
||||
zh-hant: 開源功能旗標與遠端設定平台
|
||||
ja: オープンソースの機能フラグおよびリモート設定プラットフォーム
|
||||
ko: 오픈 소스 기능 플래그 및 원격 구성 플랫폼
|
||||
ru: Платформа с открытым исходным кодом для флагов функций и удаленной конфигурации
|
||||
ms: Platform sumber terbuka untuk bendera ciri dan konfigurasi jauh
|
||||
pt-br: Plataforma de codigo aberto para sinalizadores de recursos e configuracao
|
||||
remota
|
||||
tr: Açık kaynaklı özellik bayrağı ve uzak yapılandırma platformu
|
||||
es-es: Plataforma de código abierto para indicadores de funciones y configuración remota
|
||||
fa: پلتفرم متنباز پرچمگذاری ویژگیها و پیکربندی از راه دور
|
||||
lo: ແພລດຟອມແບບເປີດສຳລັບທຸງຄຸນສົມບັດ ແລະການກຳນົດຄ່າໄລຍະໄກ
|
||||
|
||||
Binary file not shown.
|
Before Width: | Height: | Size: 1.9 KiB After Width: | Height: | Size: 1.9 KiB |
Reference in New Issue
Block a user