doc: update docker/dokku deployment instructions

This commit is contained in:
mappu 2020-05-02 14:39:33 +12:00
parent 89476839db
commit 9228ea88a9
1 changed files with 13 additions and 2 deletions

View File

@ -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
```