Public | Automated Build

Last pushed: 3 years ago
Short Description
Under construction: blohg[git] + uwsgi + nginx
Full Description

Container for easy installation of blohg

This image is a boilerplate for blogs based on blohg, pages are served by uwsgi and Nginx.

For details about Blohg

Source code:
Based on source code:

Quick start

git clone https://your-blog/blog.git
hg clone https://your-blog/blog.hg

docker run -p 80:80 --name "blog" -v /path/to/your-blog:/var/www/blog/ zoomacode/docker-blohg-git:latest

Init blog repository

Start container

docker run -it --rm zoomacode/docker-blohg-git:latest /bin/bash

Create new Mercurial repository:

blohg initrepo --repo-path my_blohg

or Git

blohg initrepo --repo-path my_blohg --git

Initial commit:

hg commit -Am 'initial commit'

or for Git:

git add .
git commit -m 'initial commit'

When the repository is created and commited, push it to

Previewing your post/page

git clone https://your-blog/blog.git
docker run -p 5000:5000 --rm -it -v /path/to/your-blog:/var/www/blog/ zoomacode/docker-blohg-git:latest

blohg runserver --repo-path my_blohg
Docker Pull Command
Source Repository