From 9228ea88a9c2be65545b6b03acffe260fcb8e115 Mon Sep 17 00:00:00 2001 From: mappu Date: Sat, 2 May 2020 14:39:33 +1200 Subject: [PATCH] doc: update docker/dokku deployment instructions --- README.md | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 721f414..0004f4a 100644 --- a/README.md +++ b/README.md @@ -15,5 +15,16 @@ Written in Go ### Production (Docker) -1. `docker build -t teafolio:latest .` -2. `docker run --restart=always -d -p 5656:5656 -v $(pwd)/config.toml:/app/config.toml teafolio:latest` +```bash +docker build -t teafolio:latest . +docker run --restart=always -d -p 5656:5656 -v $(pwd)/config.toml:/app/config.toml teafolio:latest +``` + +### Production (Dokku) + +By default, Dokku will proxy HTTP on port 5000. + +```bash +dokku apps:create teafolio +dokku storage:mount teafolio /srv/teafolio-dokku/config.toml:/app/config.toml +```