doc: update docker/dokku deployment instructions
This commit is contained in:
parent
89476839db
commit
9228ea88a9
15
README.md
15
README.md
@ -15,5 +15,16 @@ Written in Go
|
|||||||
|
|
||||||
### Production (Docker)
|
### Production (Docker)
|
||||||
|
|
||||||
1. `docker build -t teafolio:latest .`
|
```bash
|
||||||
2. `docker run --restart=always -d -p 5656:5656 -v $(pwd)/config.toml:/app/config.toml teafolio:latest`
|
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
|
||||||
|
```
|
||||||
|
Loading…
Reference in New Issue
Block a user