This Dockerfile is intended as a general purpose gollum instance. Adapted from https://github.com/suttang/docker-gollum
docker pull winkapp/docker-gollum
sudo docker run -d -P --name gollum winkapp/docker-gollum
# Check container port
sudo docker port gollum
# 0.0.0.0:49157
wget http://localhost:49157
sudo docker run -d -p 80:4567 --name gollum winkapp/docker-gollum
wget http://localhost
sudo docker run -d -P --name gollum winkapp/docker-gollum --allow-uploads --live-preview
# Create and initialize wikidata
mkdir ~/wikidata
git init ~/wikidata
sudo docker run -d -P -v ~/wikidata:/root/wikidata winkapp/docker-gollum
# Create and initialize wikidata
mkdir ~/wikidata
git init ~/wikidata
# Create config.rb
vi ~/config.rb
sudo docker run -d -P -v ~/wikidata:/root/wikidata winkapp/docker-gollum --config /root/wikidata/config.rb
sudo docker run -d -P --name gollum -v ~/wikidata:/root/wikidata -e VIRTUAL_HOST=wiki.example.com -e VIRTUAL_PORT=80 -p 80 winkapp/docker-gollum --allow-uploads --config /root/wikidata/config.rb --port 80