diff --git a/apps/ikaros/0.15.10/.env.sample b/apps/ikaros/0.15.10/.env.sample new file mode 100644 index 00000000..fcb6967e --- /dev/null +++ b/apps/ikaros/0.15.10/.env.sample @@ -0,0 +1,19 @@ +CONTAINER_NAME="ikaros" +DATA_PATH="./data" +IKAROS_ADMIN_PASSWORD="tomoki" +IKAROS_ADMIN_USERNAME="tomoki" +IKAROS_EXTERNAL_URL="http://1.2.3.4:40301" +LANG="C.UTF-8" +LANGUAGE="C:zh" +LC_ALL="C.UTF-8" +PANEL_APP_PORT_HTTP=40301 +PANEL_DB_HOST="postgresql" +PANEL_DB_HOST_NAME="postgresql" +PANEL_DB_NAME="ikaros" +PANEL_DB_PORT=5432 +PANEL_DB_TYPE="postgresql" +PANEL_DB_USER="ikaros" +PANEL_DB_USER_PASSWORD="ikaros" +PLUGIN_LOG_LEVEL="INFO" +SERVER_LOG_LEVEL="INFO" +TIME_ZONE="Asia/Shanghai" diff --git a/apps/ikaros/0.15.10/data.yml b/apps/ikaros/0.15.10/data.yml index dd8ce7f4..94269c4d 100644 --- a/apps/ikaros/0.15.10/data.yml +++ b/apps/ikaros/0.15.10/data.yml @@ -38,7 +38,7 @@ additionalProperties: required: true rule: paramComplexity type: password - - default: 9999 + - default: 40301 edit: true envKey: PANEL_APP_PORT_HTTP labelEn: Port @@ -46,7 +46,7 @@ additionalProperties: required: true rule: paramPort type: number - - default: http://localhost:9999 + - default: http://localhost:40301 edit: true envKey: IKAROS_EXTERNAL_URL labelEn: External URL @@ -54,17 +54,6 @@ additionalProperties: required: true rule: paramHttp type: text - # - default: "false" - # envKey: ENABLE_API_DOC - # labelEn: Enable Web API Doc - # labelZh: 【高级】启用接口文档 - # required: true - # type: select - # values: - # - label: TURE - # value: "true" - # - label: FALSE - # value: "false" - default: "INFO" envKey: SERVER_LOG_LEVEL labelEn: Core Server Package Log level @@ -99,3 +88,56 @@ additionalProperties: value: "ERROR" - label: CRITICAL value: "CRITICAL" + - default: "./data" + edit: true + envKey: DATA_PATH + labelEn: Data Path + labelZh: 数据路径 + required: true + type: text + - default: "tomoki" + edit: true + envKey: IKAROS_ADMIN_USERNAME + labelEn: Admin Username + labelZh: 管理员用户名 + random: true + required: true + rule: paramCommon + type: text + - default: "tomoki" + edit: true + envKey: IKAROS_ADMIN_PASSWORD + labelEn: Admin Password + labelZh: 管理员密码 + random: true + required: true + rule: paramComplexity + type: password + - default: "Asia/Shanghai" + edit: true + envKey: TIME_ZONE + labelEn: Time Zone + labelZh: 时区 + required: true + type: text + - default: "C.UTF-8" + edit: true + envKey: LANG + labelEn: Language + labelZh: 语言 + required: true + type: text + - default: "C:zh" + edit: true + envKey: LANGUAGE + labelEn: Language Setting + labelZh: 语言设置 + required: true + type: text + - default: "C.UTF-8" + edit: true + envKey: LC_ALL + labelEn: Locale Setting + labelZh: 地区设置 + required: true + type: text \ No newline at end of file diff --git a/apps/ikaros/0.15.10/docker-compose.yml b/apps/ikaros/0.15.10/docker-compose.yml index 01c42c5b..df1ac68f 100644 --- a/apps/ikaros/0.15.10/docker-compose.yml +++ b/apps/ikaros/0.15.10/docker-compose.yml @@ -1,12 +1,12 @@ services: ikaros: - image: ikarosrun/ikaros:v0.15.10 + image: "ikarosrun/ikaros:v0.15.10" container_name: ${CONTAINER_NAME} restart: always networks: - 1panel-network volumes: - - ./data:/root/.ikaros + - ${DATA_PATH}:/root/.ikaros ports: - ${PANEL_APP_PORT_HTTP}:9999 healthcheck: @@ -16,10 +16,10 @@ services: retries: 5 start_period: 30s environment: - - LANG=C.UTF-8 - - LANGUAGE=C:zh - - LC_ALL=C.UTF-8 - - TZ=Asia/Shanghai + - LANG=${LANG} + - LANGUAGE=${LANGUAGE} + - LC_ALL=${LC_ALL} + - TZ=${TIME_ZONE} command: - --logging.charset.console=UTF-8 - --logging.charset.file=UTF-8 @@ -39,6 +39,8 @@ services: - --springdoc.swagger-ui.enabled=false # ikaros - --ikaros.external-url=${IKAROS_EXTERNAL_URL} + - --ikaros.security.initializer.master-username=${IKAROS_ADMIN_USERNAME} + - --ikaros.security.initializer.master-password=${IKAROS_ADMIN_PASSWORD} labels: createdBy: "Apps" networks: diff --git a/apps/ikaros/README.md b/apps/ikaros/README.md index 1356a92b..bab78e3c 100644 --- a/apps/ikaros/README.md +++ b/apps/ikaros/README.md @@ -6,8 +6,6 @@
-
-
diff --git a/apps/ikaros/data.yml b/apps/ikaros/data.yml
index 18eb0f2f..ef87d7ef 100644
--- a/apps/ikaros/data.yml
+++ b/apps/ikaros/data.yml
@@ -1,20 +1,18 @@
name: Ikaros
tags:
- - CMS
- - ACG
- - ACGMN
-title: 强大易用的开源建站工具
-description: 强大易用的开源建站工具
+ - 建站
+title: 专注于 ACGMN 的内容管理系统 (CMS)
+description: 专注于 ACGMN 的内容管理系统 (CMS)
additionalProperties:
key: ikaros
name: Ikaros
tags:
- WebSite
- shortDescZh: 专注于ACGMN的内容管理系统(CMS)
+ shortDescZh: 专注于 ACGMN 的内容管理系统 (CMS)
shortDescEn: Dedicated to ACGMN's Content Management System (CMS)
type: website
crossVersionUpdate: true
limit: 0
website: https://ikaros.run
github: https://github.com/ikaros-dev/ikaros
- document: https://docs.ikaros.run
\ No newline at end of file
+ document: https://docs.ikaros.run
diff --git a/apps/ikaros/logo.png b/apps/ikaros/logo.png
index e13607e4..5666317f 100644
Binary files a/apps/ikaros/logo.png and b/apps/ikaros/logo.png differ