Public | Automated Build

Last pushed: a year ago
Short Description
Minimal Hexo (176MB or 56 MB compressed)
Full Description

Minimal Hexo Docker Images (176MB or 56 MB compressed)

Inspired by simplyintricate/hexo but build with Alpine Linux.

Hexo

A fast, simple & powerful blog framework, powered by Node.js.

Support

Example

Start Hexo

$ [sudo] docker run --name hexo -it \
     -v /path/to/source:/DATA/source \
     -p 80:80 \
     icyleafcn/alpine-hexo

Nginx Proxy

To run nginx-proxy first:

$ [sudo] docker run -d -p 80:80 -v /var/run/docker.sock:/tmp/docker.sock:ro jwilder/nginx-proxy

Then append env -e VIRTUAL_HOST=domain.com:

$ [sudo] docker run --name hexo -it \
     -e VIRTUAL_HOST=domain.com \
     -v /path/to/source:/DATA/source \
     -p 80:80 \
     icyleafcn/alpine-hexo

Let's Encrypt it

Follow the tutorial first here, then repeat below command:

$ [sudo] docker run --name hexo -it \
     -e VIRTUAL_HOST=domain.com \
     -e LETSENCRYPT_HOST=domain.com,www.domain.com \
     -e LETSENCRYPT_EMAIL=your@email.com \
     -v /path/to/source:/DATA/source \
     -p 80:80 \
     icyleafcn/alpine-hexo
Docker Pull Command
Owner
icyleafcn
Source Repository

Comments (0)