Added the ability to specify heartbeat and election timeouts as

config parameters.
This commit is contained in:
Neil Dunbar
2013-12-04 16:58:44 +00:00
parent e4f1e22401
commit 46f8a354d1
8 changed files with 39 additions and 31 deletions

View File

@@ -7,4 +7,4 @@ RUN apt-get install -y golang
ADD . /opt/etcd
RUN cd /opt/etcd && ./build
EXPOSE 4001 7001
ENTRYPOINT ["/opt/etcd/etcd", "-addr", "0.0.0.0:4001", "-bind-addr", "0.0.0.0:7001"]
ENTRYPOINT ["/datastore/start.sh"]