-
guqing created branch refactor/4543 in guqing/halo
guqing/halo
✍ 一款优秀的开源博客发布应用。
-
guqing pushed to feature/notification in guqing/halo
-
guqing pushed to feature/notification in guqing/halo
-
guqing commented on issue #4372 in halo-dev/halo
我的 MySQL 数据库 3306 端口已经被占用了 本项目修改端口还不能部署成功,有什么解决办法么
尝试使用下面的 docker-compose.yaml ,此配置基于官方文档提供的配置并去掉了 halodb 中的
ports: - "3306:3306"
配置,参考文档 https://docs.halo.run/getting-started/install/docker-composeversion: "3" services: halo: image: halohub/halo:2.9 container_name: halo restart: on-failure:3 depends_on: halodb: condition: service_healthy networks: halo_network: volumes: - ./:/root/.halo2 ports: - "8090:8090" healthcheck: test: ["CMD", "curl", "-f", "http://localhost:8090/actuator/health/readiness"] interval: 30s timeout: 5s retries: 5 start_period: 30s command: - --spring.r2dbc.url=r2dbc:pool:mysql://halodb:3306/halo - --spring.r2dbc.username=root # MySQL 的密码,请保证与下方 MYSQL_ROOT_PASSWORD 的变量值一致。 - --spring.r2dbc.password=o#DwN&JSa56 - --spring.sql.init.platform=mysql # 外部访问地址,请根据实际需要修改 - --halo.external-url=http://localhost:8090/ halodb: image: mysql:8.0.31 container_name: halodb restart: on-failure:3 networks: halo_network: command: - --default-authentication-plugin=mysql_native_password - --character-set-server=utf8mb4 - --collation-server=utf8mb4_general_ci - --explicit_defaults_for_timestamp=true volumes: - ./mysql:/var/lib/mysql - ./mysqlBackup:/data/mysqlBackup healthcheck: test: ["CMD", "mysqladmin", "ping", "-h", "127.0.0.1", "--silent"] interval: 3s retries: 5 start_period: 30s environment: # 请修改此密码,并对应修改上方 Halo 服务的 SPRING_R2DBC_PASSWORD 变量值 - MYSQL_ROOT_PASSWORD=o#DwN&JSa56 - MYSQL_DATABASE=halo networks: halo_network:
-
guqing commented on issue #4551 in halo-dev/halo
添加了 postSlugGenerationStrategy 的默认值,console 部分 @GodlessLiu 继续改就好了,我发现文章点保存的之后规则是还是默认的时间戳应该功能不全
-
guqing pushed to fix/article-slug in GodlessLiu/halo
-
guqing commented on issue #4551 in halo-dev/halo
-
guqing commented on issue #4551 in halo-dev/halo
-
guqing commented on issue #4551 in halo-dev/halo
@GodlessLiu 已在 globalinfo 中添加 postSlugGenerationStrategy 字段
-
guqing pushed to fix/article-slug in GodlessLiu/halo