add dockerfile and compose

This commit is contained in:
Umputun
2019-08-01 01:49:58 -05:00
parent 796c4f45eb
commit 5b173a05df
5 changed files with 67 additions and 40 deletions
+9
View File
@@ -2,3 +2,12 @@
`memory_store` illustrates how to make a custom storage plugin for remark42.
In order to run remark42 with memory_store copy provided `compose-dev-memstore.yml` to the root directory and run:
1. docker-compose -f compose-dev-memstore.yml build
1. docker-compose -f compose-dev-memstore.yml up
As usual, demo site will run on http://127.0.0.1:8080/web/
note: in order to work with the latest (current) version of master `go.mod` uses replacement directive for the backend package
. In real-life usage `replace github.com/umputun/remark/backend => ../../` should not be used.