diff --git a/apps/halo/versions/2.2.0/config.json b/apps/halo/versions/2.2.0/config.json index 8dc96e40..ae64f4a6 100644 --- a/apps/halo/versions/2.2.0/config.json +++ b/apps/halo/versions/2.2.0/config.json @@ -54,7 +54,7 @@ "labelZh": "外部访问地址", "labelEn": "External URL", "required": true, - "default": "localhost", + "default": "localhost:8080", "envKey": "HALO_EXTERNAL_URL" }, { diff --git a/apps/halo/versions/2.2.0/docker-compose.yml b/apps/halo/versions/2.2.0/docker-compose.yml index 1195adcc..6dcf802f 100644 --- a/apps/halo/versions/2.2.0/docker-compose.yml +++ b/apps/halo/versions/2.2.0/docker-compose.yml @@ -15,7 +15,7 @@ services: - --spring.r2dbc.username=${PANEL_DB_USER} - --spring.r2dbc.password=${PANEL_DB_USER_PASSWORD} - --spring.sql.init.platform=mysql - - --halo.external-url=http://${HALO_EXTERNAL_URL}:${PANEL_APP_PORT_HTTP}/ + - --halo.external-url=http://${HALO_EXTERNAL_URL} - --halo.security.initializer.superadminusername=${HALO_ADMIN} - --halo.security.initializer.superadminpassword=${HALO_ADMIN_PASSWORD} labels: