Public | Automated Build

Last pushed: a year ago
Short Description
Hexo
Full Description

Docker Hexo

Docker image for Hexo

Usage with docker-compose

docker-compose.yml

version: "2"
services:
  # hexo
  hexo:
    image: superpaintman/hexo

    container_name: hexo

    restart: always

    ports:
      - "4000:4000"
    volumes:
      - /apps/blog:/app

    environment:
      NODE_ENV: production

Configuring

Volumes

Volume Required Comment
/app No Main Hexo project folder

Environment variables

Env Comment Default
NODE_PORT 4000
NODE_ENV production
HEXO_GENERATE_WATCH true
Docker Pull Command
Owner
superpaintman
Source Repository