为hexo 博客部署qexo后台

Uncategorized
372 words

为hexo 博客部署qexo后台

博客托管: github page

hexo 仓库: 本地

qexo: 部署在docker 容器

1
2
3
4
5
6
7
8
9
10
11
12
13
services:
qexo:
image: abudulin/qexo:latest
container_name: qexo
restart: unless-stopped
ports:
- "8000:8000"
environment:
- HEXO_PATH=/app/jianlongliu.github.io
volumes:
- ./db:/app/db
- /Users/jianlongliu/Documents/jianlongliu.github.io:/app/jianlongliu.github.io
- /opt/homebrew/bin/hexo:/usr/local/bin/hexo