feat:调整ikaros

This commit is contained in:
okxlin 2024-10-12 00:43:30 +08:00
parent 476684e80d
commit 9abc9b7226
6 changed files with 87 additions and 28 deletions

View File

@ -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"

View File

@ -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

View File

@ -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:

View File

@ -6,8 +6,6 @@
<p align="center">
<a href="https://t.me/run_ikaros"><img alt="Telegram" src="https://img.shields.io/badge/Telegram-2CA5E0?style=flat-squeare&logo=telegram&logoColor=white" /></a>
<a href="http://qm.qq.com/cgi-bin/qm/qr?_wv=1027&k=78drHnTdkaGQHwAkt1eEU3JpxBfUeuPx&authKey=dvZ0CdZjiX36wKiDlDF0qKVcEDe7SNXfL%2BllKTIf%2FgiXNHwlWqTmlXTs%2BtLnB1un&noverify=0&group_code=413528874"><img alt="Telegram" src="https://img.shields.io/badge/413528874-2CA5E0?logo=tencent-qq&logoColor=white" /></a>
<br />
<a href="https://app.codecov.io/github/ikaros-dev/ikaros"><img alt="code coverage" src="https://img.shields.io/codecov/c/github/ikaros-dev/ikaros/main?style=flat-square" /></a>
<a href="https://github.com/ikaros-dev/ikaros/commits"><img alt="GitHub last commit" src="https://img.shields.io/github/last-commit/ikaros-dev/ikaros.svg?style=flat-square" /></a>

View File

@ -1,10 +1,8 @@
name: Ikaros
tags:
- CMS
- ACG
- ACGMN
title: 强大易用的开源建站工具
description: 强大易用的开源建站工具
- 建站
title: 专注于 ACGMN 的内容管理系统 (CMS)
description: 专注于 ACGMN 的内容管理系统 (CMS)
additionalProperties:
key: ikaros
name: Ikaros

Binary file not shown.

Before

Width:  |  Height:  |  Size: 54 KiB

After

Width:  |  Height:  |  Size: 17 KiB