Skip to content

Commit

Permalink
Upgrade Consul to 0.7
Browse files Browse the repository at this point in the history
  • Loading branch information
tgross authored Sep 29, 2016
1 parent 46fcbd3 commit 14f87d8
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 5 deletions.
6 changes: 3 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,10 @@ RUN set -ex \
# \
# Add Consul from https://releases.hashicorp.com/consul \
# \
&& export CHECKSUM=abdf0e1856292468e2c9971420d73b805e93888e006c76324ae39416edcf0627 \
&& curl -Lvo /tmp/consul.zip "https://releases.hashicorp.com/consul/0.6.4/consul_0.6.4_linux_amd64.zip" \
&& export CHECKSUM=b350591af10d7d23514ebaa0565638539900cdb3aaa048f077217c4c46653dd8 \
&& curl -Lvo /tmp/consul.zip https://releases.hashicorp.com/consul/0.7.0/consul_0.7.0_linux_amd64.zip \
&& echo "${CHECKSUM} /tmp/consul.zip" | sha256sum -c \
&& unzip /tmp/consul -d /usr/local/bin \
&& unzip /tmp/consul.zip -d /usr/local/bin \
&& rm /tmp/consul.zip \
&& mkdir /config \
# \
Expand Down
9 changes: 7 additions & 2 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,13 @@ mysql:
- LOG_LEVEL

consul:
image: progrium/consul:latest
command: -server -bootstrap -ui-dir /ui
image: autopilotpattern/consul:0.7r0.7
command: >-
/usr/local/bin/containerpilot
/bin/consul agent -server
-bootstrap-expect 1
-config-dir=/etc/consul
-ui-dir /ui
restart: always
mem_limit: 128m
ports:
Expand Down

0 comments on commit 14f87d8

Please sign in to comment.