Takagi
version: '2.4'
services:
halo:
image: 'halohub/halo:2.4.0'
container_name: halo
restart: 'on-failure:3'
network_mode: host
volumes:
- './:/root/.halo2'
command:
- spring.r2dbc.url=r2dbc:pool:mysql://localhost:3306/halo
- spring.r2dbc.username=root
- spring.r2dbc.password=Aa123456
- spring.sql.init.platform=mysql
- halo.external-url=http://localhost:8090/
- halo.security.initializer.superadminusername=admin
- halo.security.initializer.superadminpassword=P@88w0rd
- server.port=8090
networks:
my-network:
driver: bridge
ipam:
config:
- subnet: 192.168.159.0/24
name: my-network
用admin/P@88w0rd来登录,一直提示失败,可能是啥原因