This is HEXO container.
generate contents.
docker-compose run hexo generate
generate contents and preview.
docker-compose up
| ENV | VALUE |
|---|---|
| HEXO_CONF_DIR | Folder path for Hexo configuration |
| MY_RESOURCE_DIR | Folder path for resources |
| USE_SEARCH_ALGOLIA | true or false |
stage:
image: zzzcat/hexo:latest
command: server
tty: true
volumes:
- ./source:/hexo-work/source:ro
- ./public:/hexo-work/public:rw
ports:
- "4000:4000"
environment:
HEXO_CONF_DIR: ./source/.hexo_config/
MY_RESOURCE_DIR: .resources/
USE_SEARCH_ALGOLIA: "true"
Content type
Image
Digest
Size
262.8 MB
Last updated
about 5 years ago
docker pull zzzcat/hexo