From 803a2776ad213f98a8bfe7bc90f121b576ee0d4b Mon Sep 17 00:00:00 2001 From: Sheogorath Date: Sat, 28 Oct 2017 05:06:43 +0200 Subject: [PATCH] Extend docker section --- README.md | 21 ++++++++++++++++++--- 1 file changed, 18 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 718f6863f..1523066c3 100644 --- a/README.md +++ b/README.md @@ -74,11 +74,26 @@ You can quickly setup a sample heroku hackmd application by clicking the button [![Deploy](https://www.herokucdn.com/deploy/button.svg)](https://heroku.com/deploy) ## HackMD by docker container +[![Try in PWD](https://cdn.rawgit.com/play-with-docker/stacks/cff22438/assets/images/button.png)](http://play-with-docker.com?stack=https://github.com/hackmdio/docker-hackmd/raw/master/docker-compose.yml&stack_name=hackmd) -[docker-hackmd](https://github.com/hackmdio/docker-hackmd) -Before you go too far, here is the great docker repo for HackMD. -With docker, you can deploy a server in minutes without any downtime. +**Debian-based version:** + +[![latest](https://images.microbadger.com/badges/version/hackmdio/hackmd.svg)](https://microbadger.com/images/hackmdio/hackmd "Get your own version badge on microbadger.com") [![](https://images.microbadger.com/badges/image/hackmdio/hackmd.svg)](https://microbadger.com/images/hackmdio/hackmd "Get your own image badge on microbadger.com") + + +**Alpine-based version:** + +[![latest-alpine](https://images.microbadger.com/badges/version/hackmdio/hackmd:latest-alpine.svg)](https://microbadger.com/images/hackmdio/hackmd:latest-alpine "Get your own version badge on microbadger.com") [![](https://images.microbadger.com/badges/image/hackmdio/hackmd:latest-alpine.svg)](https://microbadger.com/images/hackmdio/hackmd:latest-alpine "Get your own image badge on microbadger.com") + +The easiest way to setup HackMD using docker are using the following three commands: + +```console +git clone https://github.com/hackmdio/docker-hackmd.git +cd docker-hackmd +docker-compose up +``` +Read more about it in the [docker repository…](https://github.com/hackmdio/docker-hackmd) # Upgrade