From 55041359f75f9c0a4cfc74c35facda54bf4fa052 Mon Sep 17 00:00:00 2001 From: Alex Gartner Date: Fri, 16 Aug 2024 09:43:12 -0700 Subject: [PATCH] Add README --- Dockerfile | 2 ++ README.md | 3 +++ 2 files changed, 5 insertions(+) create mode 100644 README.md diff --git a/Dockerfile b/Dockerfile index b109d12..cf21986 100644 --- a/Dockerfile +++ b/Dockerfile @@ -18,4 +18,6 @@ COPY --from=base-build /go/bin/cosmovisor /go/bin/go-getter /usr/local/bin COPY run.sh /run.sh +VOLUME /root/.zetacored/data/ + ENTRYPOINT ["/run.sh"] \ No newline at end of file diff --git a/README.md b/README.md new file mode 100644 index 0000000..e648818 --- /dev/null +++ b/README.md @@ -0,0 +1,3 @@ +zetacored-docker is a simple way to run snapshot based `zetacored` in docker. It will automatically download the correct `zetacored` version based on the latest snapshot height. It will also automatically upgrade to the latest version of `zetacored` at upgrade height to ensure minimal downtime. + +The only environment variable you must set is `MONIKER`. See `run.sh` for the other variables you may set. \ No newline at end of file