和 docker 一样
docker run -it -d \
--name halo \
--restart unless-stopped \
-p 8090:8090 \
-v /Volumes/1t/sky-blog1:/root/.halo2 \
-e JVM_OPTS="-Xmx512m -Xms256m -XX:+UseG1GC" \
-e SPRINGDOC_SWAGGER_UI_ENABLED=true \
-e SPRING_THYMELEAF_CACHE=false \
-e TZ=Asia/Shanghai \
registry.fit2cloud.com/halo/halo:2.21