Sign inSign up

swimminghao/halo

By swimminghao

Updated almost 4 years ago

Image
0

153

swimminghao/halo repository overview

application.yaml文件

server:
  port: 8090

  # Response data gzip.
  compression:
    enabled: false
spring:
  datasource:

    # H2 database configuration.
#    driver-class-name: org.h2.Driver
#    url: jdbc:h2:file:~/.halo/db/halo
#    username: admin
#    password: 123456

    # MySQL database configuration.
    driver-class-name: com.mysql.cj.jdbc.Driver
    url: jdbc:mysql://10.0.5.1:3306/halodb?characterEncoding=utf8&useSSL=false&serverTimezone=Asia/Shanghai&allowPublicKeyRetrieval=true
    username: root
    password: q123q123

  # H2 database console configuration.
#  h2:
#    console:
#      settings:
#        web-allow-others: false
#      path: /h2-console
#      enabled: false

halo:

  # Your admin client path is https://your-domain/{admin-path}
  admin-path: admin

  # memory or level
  cache: memory

docker run -it -d --name halo -p 8090:8090 -v /share/CACHEDEV2_DATA/software/docker/halo:/root/.halo --net host --restart=always halohub/halo:1.4.2

docker run -it -d --name halo -p 8090:8090 -v /share/CACHEDEV2_DATA/software/docker/halo:/root/.halo --net halo-net --restart=always halohub/halo:1.5.3

Tag summary

Content type

Image

Digest

sha256:d11ed83de

Size

161.2 MB

Last updated

almost 4 years ago

docker pull swimminghao/halo:1.5.5