问题描述:
容器halo-halo-1经常停止
日志:
“Failed to bind properties under 'halo.external-url' to java.net.URL”
原因:
https://docs.halo.run/getting-started/install/docker-compose/
注意外部地址配置http://localhost:8090/ 没有"<>"符号
command:
- --spring.r2dbc.url=r2dbc:pool:postgresql://halodb/halo
- --spring.r2dbc.username=halo
# PostgreSQL 的密码,请保证与下方 POSTGRES_PASSWORD 的变量值一致。
- --spring.r2dbc.password=openpostgresql
- --spring.sql.init.platform=postgresql
# 外部访问地址,请根据实际需要修改
- --halo.external-url=http://localhost:8090/
Github已提issue修复