diff --git a/apps/halo/2.9.1/data.yml b/apps/halo/2.9.1/data.yml index 727870d8..351ff2cd 100644 --- a/apps/halo/2.9.1/data.yml +++ b/apps/halo/2.9.1/data.yml @@ -40,21 +40,6 @@ additionalProperties: required: true rule: paramComplexity type: password - - default: admin - envKey: HALO_ADMIN - labelEn: Admin Username - labelZh: 超级管理员用户名 - required: true - rule: paramSimple - type: text - - default: halo - envKey: HALO_ADMIN_PASSWORD - labelEn: Admin Password - labelZh: 超级管理员密码 - random: true - required: true - rule: paramComplexity - type: password - default: http://localhost:8080 edit: true envKey: HALO_EXTERNAL_URL diff --git a/apps/halo/2.9.1/docker-compose.yml b/apps/halo/2.9.1/docker-compose.yml index 848a203b..ccc9c44c 100644 --- a/apps/halo/2.9.1/docker-compose.yml +++ b/apps/halo/2.9.1/docker-compose.yml @@ -17,13 +17,11 @@ services: retries: 5 start_period: 30s command: - - --spring.r2dbc.url=r2dbc:pool:${HALO_PLATFORM}://${PANEL_DB_HOST}:${PANEL_DB_PORT}/${PANEL_DB_NAME} + - --spring.r2dbc.url=r2dbc:pool:${PANEL_DB_TYPE}://${PANEL_DB_HOST}:${PANEL_DB_PORT}/${PANEL_DB_NAME} - --spring.r2dbc.username=${PANEL_DB_USER} - --spring.r2dbc.password=${PANEL_DB_USER_PASSWORD} - - --spring.sql.init.platform=${HALO_PLATFORM} + - --spring.sql.init.platform=${PANEL_DB_TYPE} - --halo.external-url=${HALO_EXTERNAL_URL} - - --halo.security.initializer.superadminusername=${HALO_ADMIN} - - --halo.security.initializer.superadminpassword=${HALO_ADMIN_PASSWORD} labels: createdBy: "Apps" networks: